Skip to content

Commit 7682960

Browse files
jkhelilsavitaashture
authored andcommitted
fix fips compiling options
1 parent 681baba commit 7682960

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.konflux/dockerfiles/git-init.Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ RUN set -e; for f in patches/*.patch; do echo ${f}; [[ -f ${f} ]] || continue; g
1010
COPY head HEAD
1111
ENV GODEBUG="http2server=0"
1212
ENV GOEXPERIMENT=strictfipsruntime
13-
ENV CGO_ENABLED=0
14-
RUN cd image/git-init && go build -ldflags="-X 'knative.dev/pkg/changeset.rev=$(cat HEAD)'" -mod=vendor -tags disable_gcp -tags strictfipsruntime -v -o /tmp/tektoncd-catalog-git-clone
13+
RUN cd image/git-init && go build -ldflags="-X 'knative.dev/pkg/changeset.rev=$(cat HEAD)'" -mod=vendor -tags disable_gcp,strictfipsruntime -v -o /tmp/tektoncd-catalog-git-clone
1514

1615
FROM $RUNTIME
1716
ARG VERSION=git-init-1.19

0 commit comments

Comments
 (0)