From f89ba287642de80b399bf271af914133c6904e62 Mon Sep 17 00:00:00 2001 From: Anish Asthana Date: Mon, 6 Nov 2023 16:53:38 -0500 Subject: [PATCH] Add stricttag to pass fips check warnings Signed-off-by: Anish Asthana --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 93f3f3327..ea02d1b1e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ COPY pkg/ pkg/ # Build USER root -RUN CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -a -o manager main.go +RUN CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -tags strictfipsruntime -a -o manager main.go FROM registry.access.redhat.com/ubi8/ubi-minimal:8.8 WORKDIR /