Skip to content

Commit

Permalink
feat(fips): enable CGO_ENABLED in build (red-hat-data-services#1001)
Browse files Browse the repository at this point in the history
Signed-off-by: Wen Zhou <[email protected]>
  • Loading branch information
zdtsw committed May 9, 2024
1 parent a208445 commit 8b4da29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfiles/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ COPY config/partners/ /opt/odh-manifests/partners/
COPY config/osd-configs/ /opt/odh-manifests/osd-configs/

# 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
Expand Down

0 comments on commit 8b4da29

Please sign in to comment.