Skip to content

Commit bc2cdc9

Browse files
committed
Update dockerfile
Signed-off-by: savitaashture <[email protected]>
1 parent a4f870a commit bc2cdc9

File tree

8 files changed

+15
-29
lines changed

8 files changed

+15
-29
lines changed

.konflux/dockerfiles/controller.Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ RUN go build -ldflags="-X 'knative.dev/pkg/changeset.rev=$(cat HEAD)'" -mod=vend
1313
./cmd/controller
1414

1515
FROM $RUNTIME
16-
ARG VERSION=pipeline-next
16+
ARG VERSION=pipeline-1.15.3
1717

1818
ENV CONTROLLER=/usr/local/bin/controller \
1919
KO_APP=/ko-app \
@@ -33,9 +33,7 @@ LABEL \
3333
io.k8s.description="Red Hat OpenShift Pipelines Controller" \
3434
io.openshift.tags="pipelines,tekton,openshift"
3535

36-
RUN microdnf install -y shadow-utils && \
37-
groupadd -r -g 65532 nonroot && \
38-
useradd --no-log-init -r -u 65532 -g nonroot nonroot
36+
RUN groupadd -r -g 65532 nonroot && useradd --no-log-init -r -u 65532 -g nonroot nonroot
3937
USER 65532
4038

4139
ENTRYPOINT ["/ko-app/controller"]

.konflux/dockerfiles/entrypoint.Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RUN CGO_ENABLED=0 \
1515
./cmd/entrypoint
1616

1717
FROM $RUNTIME
18-
ARG VERSION=pipeline-next
18+
ARG VERSION=pipeline-1.15.3
1919

2020
ENV ENTRYPOINT=/usr/local/bin/entrypoint \
2121
KO_APP=/ko-app \
@@ -35,9 +35,7 @@ LABEL \
3535
io.k8s.description="Red Hat OpenShift Pipelines Entrypoint" \
3636
io.openshift.tags="pipelines,tekton,openshift"
3737

38-
RUN microdnf install -y shadow-utils && \
39-
groupadd -r -g 65532 nonroot && \
40-
useradd --no-log-init -r -u 65532 -g nonroot nonroot
38+
RUN groupadd -r -g 65532 nonroot && useradd --no-log-init -r -u 65532 -g nonroot nonroot
4139
USER 65532
4240

4341
ENTRYPOINT ["/ko-app/entrypoint"]

.konflux/dockerfiles/events.Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ RUN go build -ldflags="-X 'knative.dev/pkg/changeset.rev=$(cat HEAD)'" -mod=vend
1313
./cmd/events
1414

1515
FROM $RUNTIME
16-
ARG VERSION=pipeline-next
16+
ARG VERSION=pipeline-1.15.3
1717

1818
ENV EVENTS=/usr/local/bin/events \
1919
KO_APP=/ko-app \
@@ -33,9 +33,7 @@ LABEL \
3333
io.k8s.description="Red Hat OpenShift Pipelines Events" \
3434
io.openshift.tags="pipelines,tekton,openshift"
3535

36-
RUN microdnf install -y shadow-utils && \
37-
groupadd -r -g 65532 nonroot && \
38-
useradd --no-log-init -r -u 65532 -g nonroot nonroot
36+
RUN groupadd -r -g 65532 nonroot && useradd --no-log-init -r -u 65532 -g nonroot nonroot
3937
USER 65532
4038

4139
ENTRYPOINT ["/ko-app/events"]

.konflux/dockerfiles/nop.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ RUN go build -ldflags="-X 'knative.dev/pkg/changeset.rev=$(cat HEAD)'" -mod=vend
1313
./cmd/nop
1414

1515
FROM $RUNTIME
16-
ARG VERSION=pipeline-next
16+
ARG VERSION=pipeline-1.15.3
1717

1818
ENV NOP=/usr/local/bin/nop \
1919
KO_APP=/ko-app \

.konflux/dockerfiles/resolvers.Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ RUN go build -ldflags="-X 'knative.dev/pkg/changeset.rev=$(cat HEAD)'" -mod=vend
1313
./cmd/resolvers
1414

1515
FROM $RUNTIME
16-
ARG VERSION=pipeline-next
16+
ARG VERSION=pipeline-1.15.3
1717

1818
ENV RESOLVERS=/usr/local/bin/resolvers \
1919
KO_APP=/ko-app \
@@ -33,9 +33,7 @@ LABEL \
3333
io.k8s.description="Red Hat OpenShift Pipelines Resolvers" \
3434
io.openshift.tags="pipelines,tekton,openshift"
3535

36-
RUN microdnf install -y shadow-utils && \
37-
groupadd -r -g 65532 nonroot && \
38-
useradd --no-log-init -r -u 65532 -g nonroot nonroot
36+
RUN groupadd -r -g 65532 nonroot && useradd --no-log-init -r -u 65532 -g nonroot nonroot
3937
USER 65532
4038

4139
ENTRYPOINT ["/ko-app/resolvers"]

.konflux/dockerfiles/sidecarlogresults.Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ RUN go build -ldflags="-X 'knative.dev/pkg/changeset.rev=$(cat HEAD)'" -mod=vend
1313
./cmd/sidecarlogresults
1414

1515
FROM $RUNTIME
16-
ARG VERSION=pipeline-next
16+
ARG VERSION=pipeline-1.15.3
1717

1818
ENV SIDECARLOGRESULTS=/usr/local/bin/sidecarlogresults \
1919
KO_APP=/ko-app \
@@ -33,9 +33,7 @@ LABEL \
3333
io.k8s.description="Red Hat OpenShift Pipelines Sidecarlogresults" \
3434
io.openshift.tags="pipelines,tekton,openshift"
3535

36-
RUN microdnf install -y shadow-utils && \
37-
groupadd -r -g 65532 nonroot && \
38-
useradd --no-log-init -r -u 65532 -g nonroot nonroot
36+
RUN groupadd -r -g 65532 nonroot && useradd --no-log-init -r -u 65532 -g nonroot nonroot
3937
USER 65532
4038

4139
ENTRYPOINT ["/ko-app/sidecarlogresults"]

.konflux/dockerfiles/webhook.Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ RUN go build -ldflags="-X 'knative.dev/pkg/changeset.rev=$(cat HEAD)'" -mod=vend
1313
./cmd/webhook
1414

1515
FROM $RUNTIME
16-
ARG VERSION=pipeline-next
16+
ARG VERSION=pipeline-1.15.3
1717

1818
ENV WEBHOOK=/usr/local/bin/webhook \
1919
KO_APP=/ko-app \
@@ -33,9 +33,7 @@ LABEL \
3333
io.k8s.description="Red Hat OpenShift Pipelines Webhook" \
3434
io.openshift.tags="pipelines,tekton,openshift"
3535

36-
RUN microdnf install -y shadow-utils && \
37-
groupadd -r -g 65532 nonroot && \
38-
useradd --no-log-init -r -u 65532 -g nonroot nonroot
36+
RUN groupadd -r -g 65532 nonroot && useradd --no-log-init -r -u 65532 -g nonroot nonroot
3937
USER 65532
4038

4139
ENTRYPOINT ["/ko-app/webhook"]

.konflux/dockerfiles/workingdirinit.Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ RUN go build -ldflags="-X 'knative.dev/pkg/changeset.rev=$(cat HEAD)'" -mod=vend
1313
./cmd/workingdirinit
1414

1515
FROM $RUNTIME
16-
ARG VERSION=pipeline-next
16+
ARG VERSION=pipeline-1.15.3
1717

1818
ENV WORKINGDIRINIT=/usr/local/bin/workingdirinit \
1919
KO_APP=/ko-app \
@@ -33,9 +33,7 @@ LABEL \
3333
io.k8s.description="Red Hat OpenShift Pipelines Workingdirinit" \
3434
io.openshift.tags="pipelines,tekton,openshift"
3535

36-
RUN microdnf install -y shadow-utils && \
37-
groupadd -r -g 65532 nonroot && \
38-
useradd --no-log-init -r -u 65532 -g nonroot nonroot
36+
RUN groupadd -r -g 65532 nonroot && useradd --no-log-init -r -u 65532 -g nonroot nonroot
3937
USER 65532
4038

4139
ENTRYPOINT ["/ko-app/workingdirinit"]

0 commit comments

Comments
 (0)