From fd09e9c45293ab151d62921deb0c369ade964020 Mon Sep 17 00:00:00 2001 From: Jonah Back Date: Fri, 22 Jan 2021 16:36:17 -0800 Subject: [PATCH] fix: remove explicit architecture in go build Signed-off-by: Jonah Back --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b22ffc8b..c2e92155 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,7 @@ COPY api/ api/ COPY controllers/ controllers/ # Build -RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO111MODULE=on go build -a -o manager main.go +RUN CGO_ENABLED=0 GOOS=linux GO111MODULE=on go build -a -o manager main.go # Use distroless as minimal base image to package the manager binary # Refer to https://github.com/GoogleContainerTools/distroless for more details