We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc63cfd commit eb42450Copy full SHA for eb42450
Dockerfiles/Dockerfile
@@ -38,7 +38,7 @@ COPY main.go main.go
38
COPY pkg/ pkg/
39
40
# Build
41
-RUN CGO_ENABLED=${CGO_ENABLED} GOOS=linux GOARCH=amd64 go build -a -o manager main.go
+RUN CGO_ENABLED=${CGO_ENABLED} GOOS=linux GOARCH=${TARGETARCH} go build -a -o manager main.go
42
43
################################################################################
44
FROM registry.access.redhat.com/ubi8/ubi-minimal:latest
0 commit comments