Skip to content

Commit d7701d6

Browse files
author
serverless-qe
committed
Generate dockerfiles with "./openshift/scripts/generate-dockerfiles.sh"
1 parent 775a989 commit d7701d6

File tree

3 files changed

+187
-186
lines changed

3 files changed

+187
-186
lines changed

openshift/ci-operator/build-image/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
# DO NOT EDIT! Generated Dockerfile.
22

3-
FROM registry.ci.openshift.org/ocp/4.17:cli-artifacts as tools
3+
FROM registry.ci.openshift.org/ocp/4.19:cli-artifacts as tools
44

55
# Dockerfile to bootstrap build and test in openshift-ci
6-
FROM registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.24-openshift-4.20 as builder
6+
FROM registry.ci.openshift.org/openshift/release:rhel-9-release-golang-1.24-openshift-4.20 as builder
77

88
ARG TARGETARCH
99

10-
COPY --from=tools /usr/share/openshift/linux_$TARGETARCH/oc.rhel8 /usr/bin/oc
10+
COPY --from=tools /usr/share/openshift/linux_$TARGETARCH/oc.rhel9 /usr/bin/oc
1111

1212
RUN ln -s /usr/bin/oc /usr/bin/kubectl
1313

14-
RUN yum install -y httpd-tools
14+
RUN dnf install -y httpd-tools
1515

1616
RUN wget https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 && \
1717
chmod 700 ./get-helm-3

openshift/ci-operator/knative-images/func-util/Dockerfile

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# DO NOT EDIT! Generated Dockerfile for cmd/func-util.
2-
ARG GO_BUILDER=registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.24-openshift-4.20
3-
ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal
2+
ARG GO_BUILDER=registry.ci.openshift.org/openshift/release:rhel-9-release-golang-1.24-openshift-4.20
3+
ARG GO_RUNTIME=registry.access.redhat.com/ubi9/ubi-minimal
44

55
FROM $GO_BUILDER as builder
66

@@ -17,7 +17,7 @@ FROM $GO_RUNTIME
1717

1818
ARG VERSION=knative-v1.18
1919

20-
RUN microdnf install socat tar
20+
RUN microdnf install -y socat tar
2121

2222
COPY --from=builder /usr/bin/main /usr/bin/func-util
2323
COPY LICENSE /licenses/
@@ -30,14 +30,15 @@ RUN ln -s /usr/bin/func-util /usr/local/bin/deploy && \
3030
USER 65532
3131

3232
LABEL \
33-
com.redhat.component="openshift-serverless-1-kn-plugin-func-func-util-rhel8-container" \
34-
name="openshift-serverless-1/kn-plugin-func-func-util-rhel8" \
33+
com.redhat.component="openshift-serverless-1-kn-plugin-func-func-util-rhel9-container" \
34+
name="openshift-serverless-1/kn-plugin-func-func-util-rhel9" \
3535
version=$VERSION \
3636
summary="Red Hat OpenShift Serverless 1 Kn Plugin Func Func Util" \
3737
maintainer="[email protected]" \
3838
description="Red Hat OpenShift Serverless 1 Kn Plugin Func Func Util" \
3939
io.k8s.display-name="Red Hat OpenShift Serverless 1 Kn Plugin Func Func Util" \
4040
io.k8s.description="Red Hat OpenShift Serverless Kn Plugin Func Func Util" \
41-
io.openshift.tags="func-util"
41+
io.openshift.tags="func-util" \
42+
cpe="cpe:/a:redhat:openshift_serverless:1.38::el9"
4243

4344
ENTRYPOINT ["/usr/bin/bash"]

0 commit comments

Comments
 (0)