From 5413554733ebcbb9e535b9e90700998cc58b247a Mon Sep 17 00:00:00 2001 From: sahil Date: Mon, 18 Dec 2023 16:58:41 +0530 Subject: [PATCH] fix(nimbus): fix dockerfile Signed-off-by: sahil --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c8255318..3b1e3ecf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,7 +24,7 @@ COPY pkg/controllers/ pkg/controllers/ # was called. For example, if we call make docker-build in a local env which has the Apple Silicon M1 SO # the docker BUILDPLATFORM arg will be linux/arm64 when for Apple x86 it will be linux/amd64. Therefore, # by leaving it empty we can ensure that the container and binary shipped on it will have the same platform. -RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build -a -o manager main.go +RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build -a -o manager cmd/main.go # Use distroless as minimal base image to package the manager binary # Refer to https://github.com/GoogleContainerTools/distroless for more details