Skip to content

Commit 0d7b336

Browse files
committed
chore: CGO_ENABLED=0 for static builds
1 parent 97cef4a commit 0d7b336

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.konflux/dockerfiles/git-init.Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +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
1314
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
1415

1516
FROM $RUNTIME

0 commit comments

Comments
 (0)