From a107703442c64713cda6577b69ded11e14a22d83 Mon Sep 17 00:00:00 2001 From: Wen Zhou Date: Tue, 7 May 2024 08:03:49 +0200 Subject: [PATCH] feat(fips): enable GO_ENABLED in build (#1001) Signed-off-by: Wen Zhou --- Dockerfiles/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfiles/Dockerfile b/Dockerfiles/Dockerfile index d2f7521df3f..e3edd355e6a 100644 --- a/Dockerfiles/Dockerfile +++ b/Dockerfiles/Dockerfile @@ -39,7 +39,7 @@ COPY main.go main.go COPY pkg/ pkg/ # Build -RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o manager main.go +RUN CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -a -o manager main.go ################################################################################ FROM registry.access.redhat.com/ubi8/ubi-minimal:latest