You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Dockerfile
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
# Build the addon controller binary
2
-
FROM registry.ci.openshift.org/stolostron/builder:go1.23-linux AS builder
2
+
FROM registry.ci.openshift.org/stolostron/builder:go1.24-linux AS builder
3
3
USER root
4
4
5
5
WORKDIR /workspace
@@ -20,7 +20,7 @@ ENV GOFLAGS=-mod=readonly
20
20
ENV CGO_ENABLED=1
21
21
ARG versionFromGit_arg="(unknown)"
22
22
ARG commitFromGit_arg="(unknown)"
23
-
RUN GOOS=linux GOARCH=amd64 GO111MODULE=on go build -a -o controller -ldflags "-X main.versionFromGit=${versionFromGit_arg} -X main.commitFromGit=${commitFromGit_arg}" main.go
23
+
RUN GOOS=linux GO111MODULE=on go build -a -o controller -ldflags "-X main.versionFromGit=${versionFromGit_arg} -X main.commitFromGit=${commitFromGit_arg}" main.go
24
24
25
25
# Final container
26
26
FROM registry.access.redhat.com/ubi9-minimal:latest
0 commit comments