Skip to content

Commit

Permalink
FIPS compliance (#559)
Browse files Browse the repository at this point in the history
  • Loading branch information
jotak authored Feb 12, 2025
1 parent dbcc8f7 commit 4965268
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile.downstream
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ COPY go.mod go.mod
COPY go.sum go.sum

# Build
RUN GOARCH=$TARGETARCH go build -ldflags "-X 'main.buildVersion=${BUILDVERSION}' -X 'main.buildDate=`date +%Y-%m-%d\ %H:%M`'" -mod vendor -a -o bin/netobserv-ebpf-agent cmd/netobserv-ebpf-agent.go
ENV GOEXPERIMENT strictfipsruntime
RUN GOARCH=$TARGETARCH go build -tags strictfipsruntime -ldflags "-X 'main.buildVersion=${BUILDVERSION}' -X 'main.buildDate=`date +%Y-%m-%d\ %H:%M`'" -mod vendor -a -o bin/netobserv-ebpf-agent cmd/netobserv-ebpf-agent.go

# Create final image from minimal + built binary
FROM --platform=linux/$TARGETARCH registry.access.redhat.com/ubi9/ubi-minimal:9.5-1738816775
Expand Down

0 comments on commit 4965268

Please sign in to comment.