Skip to content

Commit 388c1c8

Browse files
committed
add tags for FIPs compliance to dockerfile
1 parent c306702 commit 388c1c8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.konflux/dockerfiles/controller.Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ COPY .konflux/patches patches/
99
RUN set -e; for f in patches/*.patch; do echo ${f}; [[ -f ${f} ]] || continue; git apply ${f}; done
1010
COPY head HEAD
1111
ENV GODEBUG="http2server=0"
12-
RUN go build -ldflags="-X 'knative.dev/pkg/changeset.rev=$(cat HEAD)'" -mod=vendor -tags disable_gcp -v -o /tmp/controller \
12+
ENV GOEXPERIMENT=strictfipsruntime
13+
RUN go build -ldflags="-X 'knative.dev/pkg/changeset.rev=$(cat HEAD)'" -mod=vendor -tags disable_gcp -tags strictfipsruntime -v -o /tmp/controller \
1314
./cmd/controller
1415

1516
FROM $RUNTIME

0 commit comments

Comments
 (0)