Skip to content

Commit bfadb47

Browse files
anishasthanaopenshift-ci[bot]
authored andcommitted
Use CGO_ENABLED=1 for FIPS compliance reasons
Signed-off-by: Anish Asthana <anishasthana1@gmail.com>
1 parent 544d1e7 commit bfadb47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ COPY pkg/ pkg/
1313

1414
# Build
1515
USER root
16-
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o manager main.go
16+
RUN CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -a -o manager main.go
1717

1818
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.8
1919
WORKDIR /

0 commit comments

Comments
 (0)