File tree Expand file tree Collapse file tree 2 files changed +6
-12
lines changed Expand file tree Collapse file tree 2 files changed +6
-12
lines changed Original file line number Diff line number Diff line change 1
1
ARG GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:v1.23
2
- ARG RUNTIME=registry.access.redhat.com/ubi9/ubi-minimal:latest@sha256:92b1d5747a93608b6adb64dfd54515c3c5a360802db4706765ff3d8470df6290
2
+ ARG RUNTIME=registry.access.redhat.com/ubi9/ubi-minimal:latest@sha256:f172b3082a3d1bbe789a1057f03883c1113243564f01cd3020e27548b911d3f8
3
3
4
4
FROM $GO_BUILDER AS builder
5
5
@@ -9,12 +9,11 @@ RUN set -e; for f in patches/*.patch; do echo ${f}; [[ -f ${f} ]] || continue; g
9
9
ENV GODEBUG="http2server=0"
10
10
ENV GOEXPERIMENT=strictfipsruntime
11
11
RUN git rev-parse HEAD > /tmp/HEAD
12
- RUN CGO_ENABLED=0 \
13
- go build -ldflags="-X 'knative.dev/pkg/changeset.rev=$(cat /tmp/HEAD)'" -mod=vendor -tags disable_gcp -tags strictfipsruntime -v -o /tmp/manual-approval-gate-controller \
12
+ RUN go build -ldflags="-X 'knative.dev/pkg/changeset.rev=$(cat /tmp/HEAD)'" -mod=vendor -tags disable_gcp -tags strictfipsruntime -v -o /tmp/manual-approval-gate-controller \
14
13
./cmd/controller
15
14
16
15
FROM $RUNTIME
17
- ARG VERSION=manual-approval-gate-controller-0.6
16
+ ARG VERSION=manual-approval-gate-controller-1-19
18
17
19
18
ENV KO_APP=/ko-app \
20
19
KO_DATA_PATH=/kodata
@@ -33,8 +32,6 @@ LABEL \
33
32
io.k8s.description="Red Hat OpenShift Pipelines Manual Approval Gate" \
34
33
io.openshift.tags="pipelines,tekton,openshift"
35
34
36
-
37
- RUN microdnf install -y shadow-utils
38
35
RUN groupadd -r -g 65532 nonroot && useradd --no-log-init -r -u 65532 -g nonroot nonroot
39
36
USER 65532
40
37
Original file line number Diff line number Diff line change 1
1
ARG GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:v1.23
2
- ARG RUNTIME=registry.access.redhat.com/ubi9/ubi-minimal:latest@sha256:92b1d5747a93608b6adb64dfd54515c3c5a360802db4706765ff3d8470df6290
2
+ ARG RUNTIME=registry.access.redhat.com/ubi9/ubi-minimal:latest@sha256:f172b3082a3d1bbe789a1057f03883c1113243564f01cd3020e27548b911d3f8
3
3
4
4
FROM $GO_BUILDER AS builder
5
5
@@ -9,12 +9,11 @@ RUN set -e; for f in patches/*.patch; do echo ${f}; [[ -f ${f} ]] || continue; g
9
9
ENV GODEBUG="http2server=0"
10
10
ENV GOEXPERIMENT=strictfipsruntime
11
11
RUN git rev-parse HEAD > /tmp/HEAD
12
- RUN CGO_ENABLED=0 \
13
- go build -ldflags="-X 'knative.dev/pkg/changeset.rev=$(cat /tmp/HEAD)'" -mod=vendor -tags disable_gcp -tags strictfipsruntime -v -o /tmp/manual-approval-gate-webhook \
12
+ RUN go build -ldflags="-X 'knative.dev/pkg/changeset.rev=$(cat /tmp/HEAD)'" -mod=vendor -tags disable_gcp -tags strictfipsruntime -v -o /tmp/manual-approval-gate-webhook \
14
13
./cmd/webhook
15
14
16
15
FROM $RUNTIME
17
- ARG VERSION=manual-approval-gate-webhook-0.6
16
+ ARG VERSION=manual-approval-gate-webhook-1-19
18
17
19
18
ENV KO_APP=/ko-app
20
19
@@ -31,8 +30,6 @@ LABEL \
31
30
io.k8s.description="Red Hat OpenShift Pipelines Manual Approval Gate" \
32
31
io.openshift.tags="pipelines,tekton,openshift"
33
32
34
-
35
- RUN microdnf install -y shadow-utils
36
33
RUN groupadd -r -g 65532 nonroot && useradd --no-log-init -r -u 65532 -g nonroot nonroot
37
34
USER 65532
38
35
You can’t perform that action at this time.
0 commit comments