From da29307358989f28b6e8597a20c1b75639123438 Mon Sep 17 00:00:00 2001 From: Anish Asthana Date: Thu, 2 Nov 2023 16:23:52 -0400 Subject: [PATCH] Use CGO_ENABLED=1 for FIPS compliance reasons Signed-off-by: Anish Asthana --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ab7210993..93f3f3327 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ COPY pkg/ pkg/ # Build USER root -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:8.8 WORKDIR /