Skip to content

Commit 3225330

Browse files
Fix dockerfile for building multi arch images
1 parent 0a533c9 commit 3225330

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ COPY controllers/ controllers/
2020
COPY pkg/ pkg/
2121

2222
# Build
23-
ARG TARGETOS=linux
24-
ARG TARGETARCH=amd64
23+
ARG TARGETOS
24+
ARG TARGETARCH
2525
RUN CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -a -o manager cmd/manager/main.go
2626

2727
# Use distroless as minimal base image to package the manager binary

0 commit comments

Comments
 (0)