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 /