|
| 1 | +FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_1.22 as builder |
| 2 | +WORKDIR /go/src/github.com/openshift/cluster-kube-descheduler-operator |
| 3 | +COPY . . |
| 4 | + |
| 5 | +RUN mkdir licenses |
| 6 | +COPY ./LICENSE licenses/. |
| 7 | + |
| 8 | +ARG OPERATOR_IMAGE=registry.stage.redhat.io/kube-descheduler-operator/kube-descheduler-rhel9-operator@sha256:d298e2013332783d7e8b76fc0d6ef7d5565b9e18fea30e1fd61d9c2ef85df5af |
| 9 | +ARG OPERAND_IMAGE=registry.stage.redhat.io/kube-descheduler-operator/descheduler-rhel9@sha256:d298e2013332783d7e8b76fc0d6ef7d5565b9e18fea30e1fd61d9c2ef85df5af |
| 10 | +ARG REPLACED_OPERATOR_IMG=registry-proxy.engineering.redhat.com/rh-osbs/kube-descheduler-operator-rhel-9:latest |
| 11 | +ARG REPLACED_OPERAND_IMG=registry-proxy.engineering.redhat.com/rh-osbs/descheduler-rhel-9:latest |
| 12 | + |
| 13 | +RUN hack/replace-image.sh manifests ${REPLACED_OPERATOR_IMG} ${OPERATOR_IMAGE} |
| 14 | +RUN hack/replace-image.sh manifests ${REPLACED_OPERAND_IMG} ${OPERAND_IMAGE} |
| 15 | + |
| 16 | +FROM registry.redhat.io/rhel9-4-els/rhel-minimal:9.4 |
| 17 | + |
| 18 | +COPY --from=builder /go/src/github.com/openshift/cluster-kube-descheduler-operator/manifests /manifests |
| 19 | +COPY --from=builder /go/src/github.com/openshift/cluster-kube-descheduler-operator/metadata /metadata |
| 20 | +COPY --from=builder /go/src/github.com/openshift/cluster-kube-descheduler-operator/licenses /licenses |
| 21 | + |
| 22 | +LABEL operators.operatorframework.io.bundle.mediatype.v1="registry+v1" |
| 23 | +LABEL operators.operatorframework.io.bundle.manifests.v1=manifests/ |
| 24 | +LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/ |
| 25 | +LABEL operators.operatorframework.io.bundle.package.v1="cluster-kube-descheduler-operator" |
| 26 | +LABEL operators.operatorframework.io.bundle.channels.v1=stable |
| 27 | +LABEL operators.operatorframework.io.bundle.channel.default.v1=stable |
| 28 | +LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.34.2 |
| 29 | +LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1 |
| 30 | +LABEL operators.operatorframework.io.metrics.project_layout=go.kubebuilder.io/v4 |
| 31 | + |
| 32 | +LABEL com.redhat.component="kube-descheduler-operator-bundle-container" |
| 33 | +LABEL description="Descheduler support for OpenShift based on RHEL 9" |
| 34 | +LABEL distribution-scope="public" |
| 35 | +LABEL name="cluster-kube-descheduler-operator-metadata-rhel-9" |
| 36 | +LABEL release="5.1.2" |
| 37 | +LABEL version="5.1.2" |
| 38 | +LABEL url="https://github.com/openshift/cluster-kube-descheduler-operator" |
| 39 | +LABEL vendor="Red Hat, Inc." |
| 40 | +LABEL summary="Descheduler support for OpenShift" \ |
| 41 | +LABEL io.openshift.expose-services="" |
| 42 | +LABEL io.k8s.display-name="kube-descheduler-operator based on RHEL 9" \ |
| 43 | +LABEL io.k8s.description="Descheduler support for OpenShift based on RHEL 9" |
| 44 | +LABEL io.openshift.tags="openshift,kube-descheduler-operator" |
| 45 | +LABEL com.redhat.delivery.operator.bundle=true |
| 46 | +LABEL com.redhat.openshift.versions="v4.17" |
| 47 | +LABEL com.redhat.delivery.appregistry=true |
| 48 | +LABEL maintainer= "AOS workloads team, <[email protected]>" |
| 49 | + |
| 50 | +USER 1001 |
0 commit comments