Skip to content

Commit

Permalink
Use ubi8/ubi-minimal as base and re-generate CI images
Browse files Browse the repository at this point in the history
  • Loading branch information
mgencur committed Jan 19, 2024
1 parent c19ffad commit 058af46
Show file tree
Hide file tree
Showing 33 changed files with 33 additions and 33 deletions.
2 changes: 1 addition & 1 deletion openshift/ci-operator/Dockerfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM registry.ci.openshift.org/openshift/release:golang-1.19 as builder
COPY . .
RUN make install test-install

FROM openshift/origin-base
FROM registry.access.redhat.com/ubi8/ubi-minimal
USER 65532

COPY --from=builder /go/bin/${bin} /ko-app/${bin}
Expand Down
2 changes: 1 addition & 1 deletion openshift/ci-operator/Dockerfile_with_kodata.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM registry.ci.openshift.org/openshift/release:golang-1.19 as builder
COPY . .
RUN make install test-install

FROM openshift/origin-base
FROM registry.access.redhat.com/ubi8/ubi-minimal
USER 65532

COPY ${kodata_path} /var/run/ko
Expand Down
2 changes: 1 addition & 1 deletion openshift/ci-operator/knative-images/activator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM registry.ci.openshift.org/openshift/release:golang-1.19 as builder
COPY . .
RUN make install test-install

FROM openshift/origin-base
FROM registry.access.redhat.com/ubi8/ubi-minimal
USER 65532

COPY ./cmd/activator/kodata /var/run/ko
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM registry.ci.openshift.org/openshift/release:golang-1.19 as builder
COPY . .
RUN make install test-install

FROM openshift/origin-base
FROM registry.access.redhat.com/ubi8/ubi-minimal
USER 65532

COPY ./cmd/autoscaler-hpa/kodata /var/run/ko
Expand Down
2 changes: 1 addition & 1 deletion openshift/ci-operator/knative-images/autoscaler/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM registry.ci.openshift.org/openshift/release:golang-1.19 as builder
COPY . .
RUN make install test-install

FROM openshift/origin-base
FROM registry.access.redhat.com/ubi8/ubi-minimal
USER 65532

COPY ./cmd/autoscaler/kodata /var/run/ko
Expand Down
2 changes: 1 addition & 1 deletion openshift/ci-operator/knative-images/controller/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM registry.ci.openshift.org/openshift/release:golang-1.19 as builder
COPY . .
RUN make install test-install

FROM openshift/origin-base
FROM registry.access.redhat.com/ubi8/ubi-minimal
USER 65532

COPY ./cmd/controller/kodata /var/run/ko
Expand Down
2 changes: 1 addition & 1 deletion openshift/ci-operator/knative-images/migrate/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM registry.ci.openshift.org/openshift/release:golang-1.19 as builder
COPY . .
RUN make install test-install

FROM openshift/origin-base
FROM registry.access.redhat.com/ubi8/ubi-minimal
USER 65532

COPY --from=builder /go/bin/migrate /ko-app/migrate
Expand Down
2 changes: 1 addition & 1 deletion openshift/ci-operator/knative-images/queue/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM registry.ci.openshift.org/openshift/release:golang-1.19 as builder
COPY . .
RUN make install test-install

FROM openshift/origin-base
FROM registry.access.redhat.com/ubi8/ubi-minimal
USER 65532

COPY ./cmd/queue/kodata /var/run/ko
Expand Down
2 changes: 1 addition & 1 deletion openshift/ci-operator/knative-images/webhook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM registry.ci.openshift.org/openshift/release:golang-1.19 as builder
COPY . .
RUN make install test-install

FROM openshift/origin-base
FROM registry.access.redhat.com/ubi8/ubi-minimal
USER 65532

COPY ./cmd/webhook/kodata /var/run/ko
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ COPY . .
RUN ./openshift/in-docker-patch.sh
RUN make perf-install

FROM openshift/origin-base
FROM registry.access.redhat.com/ubi8/ubi-minimal
USER 65532

COPY --from=builder /go/bin/dataplane-probe /ko-app/dataplane-probe
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ COPY . .
RUN ./openshift/in-docker-patch.sh
RUN make perf-install

FROM openshift/origin-base
FROM registry.access.redhat.com/ubi8/ubi-minimal
USER 65532

COPY --from=builder /go/bin/load-test /ko-app/load-test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ COPY . .
RUN ./openshift/in-docker-patch.sh
RUN make perf-install

FROM openshift/origin-base
FROM registry.access.redhat.com/ubi8/ubi-minimal
USER 65532

COPY --from=builder /go/bin/real-traffic-test /ko-app/real-traffic-test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ COPY . .
RUN ./openshift/in-docker-patch.sh
RUN make perf-install

FROM openshift/origin-base
FROM registry.access.redhat.com/ubi8/ubi-minimal
USER 65532

COPY --from=builder /go/bin/reconciliation-delay /ko-app/reconciliation-delay
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ COPY . .
RUN ./openshift/in-docker-patch.sh
RUN make perf-install

FROM openshift/origin-base
FROM registry.access.redhat.com/ubi8/ubi-minimal
USER 65532

COPY --from=builder /go/bin/rollout-probe /ko-app/rollout-probe
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ COPY . .
RUN ./openshift/in-docker-patch.sh
RUN make perf-install

FROM openshift/origin-base
FROM registry.access.redhat.com/ubi8/ubi-minimal
USER 65532

COPY --from=builder /go/bin/scale-from-zero /ko-app/scale-from-zero
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM registry.ci.openshift.org/openshift/release:golang-1.19 as builder
COPY . .
RUN make install test-install

FROM openshift/origin-base
FROM registry.access.redhat.com/ubi8/ubi-minimal
USER 65532

COPY --from=builder /go/bin/autoscale /ko-app/autoscale
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM registry.ci.openshift.org/openshift/release:golang-1.19 as builder
COPY . .
RUN make install test-install

FROM openshift/origin-base
FROM registry.access.redhat.com/ubi8/ubi-minimal
USER 65532

COPY --from=builder /go/bin/failing /ko-app/failing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM registry.ci.openshift.org/openshift/release:golang-1.19 as builder
COPY . .
RUN make install test-install

FROM openshift/origin-base
FROM registry.access.redhat.com/ubi8/ubi-minimal
USER 65532

COPY --from=builder /go/bin/grpc-ping /ko-app/grpc-ping
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM registry.ci.openshift.org/openshift/release:golang-1.19 as builder
COPY . .
RUN make install test-install

FROM openshift/origin-base
FROM registry.access.redhat.com/ubi8/ubi-minimal
USER 65532

COPY --from=builder /go/bin/hellohttp2 /ko-app/hellohttp2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM registry.ci.openshift.org/openshift/release:golang-1.19 as builder
COPY . .
RUN make install test-install

FROM openshift/origin-base
FROM registry.access.redhat.com/ubi8/ubi-minimal
USER 65532

COPY --from=builder /go/bin/hellovolume /ko-app/hellovolume
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM registry.ci.openshift.org/openshift/release:golang-1.19 as builder
COPY . .
RUN make install test-install

FROM openshift/origin-base
FROM registry.access.redhat.com/ubi8/ubi-minimal
USER 65532

COPY --from=builder /go/bin/helloworld /ko-app/helloworld
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM registry.ci.openshift.org/openshift/release:golang-1.19 as builder
COPY . .
RUN make install test-install

FROM openshift/origin-base
FROM registry.access.redhat.com/ubi8/ubi-minimal
USER 65532

COPY --from=builder /go/bin/httpproxy /ko-app/httpproxy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM registry.ci.openshift.org/openshift/release:golang-1.19 as builder
COPY . .
RUN make install test-install

FROM openshift/origin-base
FROM registry.access.redhat.com/ubi8/ubi-minimal
USER 65532

COPY --from=builder /go/bin/pizzaplanetv1 /ko-app/pizzaplanetv1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM registry.ci.openshift.org/openshift/release:golang-1.19 as builder
COPY . .
RUN make install test-install

FROM openshift/origin-base
FROM registry.access.redhat.com/ubi8/ubi-minimal
USER 65532

COPY --from=builder /go/bin/pizzaplanetv2 /ko-app/pizzaplanetv2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM registry.ci.openshift.org/openshift/release:golang-1.19 as builder
COPY . .
RUN make install test-install

FROM openshift/origin-base
FROM registry.access.redhat.com/ubi8/ubi-minimal
USER 65532

COPY --from=builder /go/bin/readiness /ko-app/readiness
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM registry.ci.openshift.org/openshift/release:golang-1.19 as builder
COPY . .
RUN make install test-install

FROM openshift/origin-base
FROM registry.access.redhat.com/ubi8/ubi-minimal
USER 65532

COPY --from=builder /go/bin/runtime /ko-app/runtime
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM registry.ci.openshift.org/openshift/release:golang-1.19 as builder
COPY . .
RUN make install test-install

FROM openshift/origin-base
FROM registry.access.redhat.com/ubi8/ubi-minimal
USER 65532

COPY --from=builder /go/bin/servingcontainer /ko-app/servingcontainer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM registry.ci.openshift.org/openshift/release:golang-1.19 as builder
COPY . .
RUN make install test-install

FROM openshift/origin-base
FROM registry.access.redhat.com/ubi8/ubi-minimal
USER 65532

COPY --from=builder /go/bin/sidecarcontainer /ko-app/sidecarcontainer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM registry.ci.openshift.org/openshift/release:golang-1.19 as builder
COPY . .
RUN make install test-install

FROM openshift/origin-base
FROM registry.access.redhat.com/ubi8/ubi-minimal
USER 65532

COPY --from=builder /go/bin/singlethreaded /ko-app/singlethreaded
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM registry.ci.openshift.org/openshift/release:golang-1.19 as builder
COPY . .
RUN make install test-install

FROM openshift/origin-base
FROM registry.access.redhat.com/ubi8/ubi-minimal
USER 65532

COPY --from=builder /go/bin/slowstart /ko-app/slowstart
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM registry.ci.openshift.org/openshift/release:golang-1.19 as builder
COPY . .
RUN make install test-install

FROM openshift/origin-base
FROM registry.access.redhat.com/ubi8/ubi-minimal
USER 65532

COPY --from=builder /go/bin/timeout /ko-app/timeout
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM registry.ci.openshift.org/openshift/release:golang-1.19 as builder
COPY . .
RUN make install test-install

FROM openshift/origin-base
FROM registry.access.redhat.com/ubi8/ubi-minimal
USER 65532

COPY --from=builder /go/bin/volumes /ko-app/volumes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM registry.ci.openshift.org/openshift/release:golang-1.19 as builder
COPY . .
RUN make install test-install

FROM openshift/origin-base
FROM registry.access.redhat.com/ubi8/ubi-minimal
USER 65532

COPY --from=builder /go/bin/wsserver /ko-app/wsserver
Expand Down

0 comments on commit 058af46

Please sign in to comment.