From fecafc762c9122ee72e083a1eec7736f97e5def6 Mon Sep 17 00:00:00 2001 From: Pranav Pandit <99784213+pranavpandit1@users.noreply.github.com> Date: Thu, 20 Oct 2022 17:22:32 +0530 Subject: [PATCH] Removed GOARCH dependency for multiarch support (#1674) --- build/images/training-operator/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/images/training-operator/Dockerfile b/build/images/training-operator/Dockerfile index e6bec03e88..dc5a48dce5 100644 --- a/build/images/training-operator/Dockerfile +++ b/build/images/training-operator/Dockerfile @@ -13,7 +13,7 @@ RUN go mod download COPY . . # Build -RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO111MODULE=on go build -a -o manager cmd/training-operator.v1/main.go +RUN CGO_ENABLED=0 GOOS=linux GO111MODULE=on go build -a -o manager cmd/training-operator.v1/main.go # Use distroless as minimal base image to package the manager binary # Refer to https://github.com/GoogleContainerTools/distroless for more details