From 27bc6da43ef3979a6e38440cb500dbb92b78cf38 Mon Sep 17 00:00:00 2001 From: Lyubo Kamenov Date: Mon, 21 Oct 2024 16:05:40 -0400 Subject: [PATCH] adjust dockerfile --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index cef9da3..32992e9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,8 +14,9 @@ COPY cmd/ cmd/ COPY api/ api/ COPY controllers/ controllers/ COPY pkg/ pkg/ + # Build -ENV CGO_ENABLED=0 GOOS=linux GOARCH=amd64 +ENV CGO_ENABLED=0 RUN go build -a -o conduit-operator cmd/operator/main.go # Use distroless as minimal base image to package the manager binary