11# DO NOT EDIT! Generated Dockerfile for cmd/kn.
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
55FROM $GO_BUILDER as builder
66
@@ -9,30 +9,31 @@ COPY . .
99
1010ENV CGO_ENABLED=1
1111ENV GOEXPERIMENT=strictfipsruntime
12- ENV GOFLAGS=''
12+ ENV GOFLAGS='-mod=mod '
1313
14- ENV KN_PLUGIN_FUNC_UTIL_IMAGE=registry.redhat.io/openshift-serverless-1/kn-plugin-func-func-util-rhel8@sha256:0ae40d26e834e208d0909b90fb3a37c3feb38a299034b5086f1bec69d6719eb2
15- ENV KN_PLUGIN_EVENT_SENDER_IMAGE=registry.redhat.io/openshift-serverless-1/kn-plugin-event-sender-rhel8@sha256:58e3ccea5c558575fe4adc6f5f6d570ebec0934de1ba1110bc32fe76fb379c7e
14+ ENV KN_PLUGIN_FUNC_UTIL_IMAGE=registry.redhat.io/openshift-serverless-1/kn-plugin-func-func-util-rhel8@sha256:607e50dd3a9b61d57d125c47a7977c40c4f781bfab01a852a08b40fe42f2b893
15+ ENV KN_PLUGIN_EVENT_SENDER_IMAGE=registry.redhat.io/openshift-serverless-1/kn-plugin-event-sender-rhel8@sha256:2d8cfab33f1c46b2d4510ea4b56a09e12b8bcf07c0eb055e84ebc077ec730145
1616RUN go build -tags strictfipsruntime -o /usr/bin/main ./cmd/kn
1717
1818FROM $GO_RUNTIME
1919
20- ARG VERSION=knative-v1.19
20+ ARG VERSION=
2121
2222COPY --from=builder /usr/bin/main /ko-app/kn
2323COPY LICENSE /licenses/
2424
2525USER 65532
2626
2727LABEL \
28- com.redhat.component="openshift-serverless-1-client- kn-rhel8 -container" \
29- name="openshift-serverless-1/client- kn-rhel8 " \
28+ com.redhat.component="openshift-serverless-1-kn-rhel9 -container" \
29+ name="openshift-serverless-1/kn-rhel9 " \
3030 version=$VERSION \
31- summary="Red Hat OpenShift Serverless 1 Client Kn" \
31+ summary="Red Hat OpenShift Serverless 1 Kn" \
323233- description="Red Hat OpenShift Serverless 1 Client Kn" \
34- io.k8s.display-name="Red Hat OpenShift Serverless 1 Client Kn" \
35- io.k8s.description="Red Hat OpenShift Serverless Client Kn" \
36- io.openshift.tags="kn"
33+ description="Red Hat OpenShift Serverless 1 Kn" \
34+ io.k8s.display-name="Red Hat OpenShift Serverless 1 Kn" \
35+ io.k8s.description="Red Hat OpenShift Serverless Kn" \
36+ io.openshift.tags="kn" \
37+ cpe="cpe:/a:redhat:openshift_serverless:1.37::el9"
3738
3839ENTRYPOINT ["/ko-app/kn" ]
0 commit comments