Skip to content

Commit f9b49ab

Browse files
Update git-init.Dockerfile
1 parent 4b63b19 commit f9b49ab

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.konflux/dockerfiles/git-init.Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ARG GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:v1.23
22
# note: use ubi image instead of ubi-minimal to avoid issues openssh-clients needing deps only available in ubi
3-
ARG RUNTIME=registry.access.redhat.com/ubi9/ubi@sha256:304b50df1ea4db9706d8a30f4bbf26f582936ebc80c7e075c72ff2af99292a54
3+
ARG RUNTIME=registry.redhat.io/ubi9/ubi-minimal@sha256:f172b3082a3d1bbe789a1057f03883c1113243564f01cd3020e27548b911d3f8
44

55
FROM $GO_BUILDER AS builder
66

@@ -11,7 +11,7 @@ RUN set -e; for f in patches/*.patch; do echo ${f}; [[ -f ${f} ]] || continue; g
1111
COPY head HEAD
1212
ENV GODEBUG="http2server=0"
1313
ENV GOEXPERIMENT=strictfipsruntime
14-
RUN cd image/git-init && go build -ldflags="-X 'knative.dev/pkg/changeset.rev=$(cat HEAD)'" -mod=vendor -tags strictfipsruntime -v -o /tmp/tektoncd-catalog-git-clone
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
1515

1616
FROM $RUNTIME
1717
ARG VERSION=git-init-1.19
@@ -20,7 +20,7 @@ ENV BINARY=git-init \
2020
KO_APP=/ko-app \
2121
KO_DATA_PATH=/kodata
2222

23-
RUN dnf install -y openssh-clients git git-lfs shadow-utils
23+
RUN microdnf install -y openssh-clients git git-lfs shadow-utils
2424

2525
COPY --from=builder /tmp/tektoncd-catalog-git-clone ${KO_APP}/${BINARY}
2626
COPY head ${KO_DATA_PATH}/HEAD

0 commit comments

Comments
 (0)