Skip to content
Snippets Groups Projects
Unverified Commit 7206b082 authored by Joel Takvorian's avatar Joel Takvorian Committed by GitHub
Browse files

FIPS compliance (#561)

parent fc3727da
Branches
Tags nfs-provisioner-v2.2.0-k8s1.12
No related merge requests found
...@@ -19,7 +19,8 @@ COPY go.mod go.mod ...@@ -19,7 +19,8 @@ COPY go.mod go.mod
COPY go.sum go.sum COPY go.sum go.sum
# Build # 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 # Create final image from minimal + built binary
FROM --platform=linux/$TARGETARCH registry.access.redhat.com/ubi9/ubi-minimal:9.5-1738816775 FROM --platform=linux/$TARGETARCH registry.access.redhat.com/ubi9/ubi-minimal:9.5-1738816775
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment