-
Notifications
You must be signed in to change notification settings - Fork 63
Expand file tree
/
Copy pathDockerfile.rhel7
More file actions
20 lines (19 loc) · 1.2 KB
/
Dockerfile.rhel7
File metadata and controls
20 lines (19 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.25-openshift-4.22 AS builder
WORKDIR /go/src/github.com/openshift/cluster-kube-descheduler-operator
COPY . .
RUN make build --warn-undefined-variables
FROM registry.ci.openshift.org/ocp/4.22:base-rhel9
COPY --from=builder /go/src/github.com/openshift/cluster-kube-descheduler-operator/cluster-kube-descheduler-operator /usr/bin/
COPY --from=builder /go/src/github.com/openshift/cluster-kube-descheduler-operator/soft-tainter /usr/bin/
COPY --from=builder /go/src/github.com/openshift/cluster-kube-descheduler-operator/manifests /manifests
COPY --from=builder /go/src/github.com/openshift/cluster-kube-descheduler-operator/metadata /metadata
LABEL io.k8s.display-name="OpenShift Descheduler Operator" \
io.k8s.description="This is a component of OpenShift and manages the descheduler" \
io.openshift.tags="openshift,cluster-kube-descheduler-operator" \
com.redhat.delivery.appregistry=true \
release="5.4.0" \
version="5.4.0" \
url="https://github.com/openshift/cluster-kube-descheduler-operator" \
vendor="Red Hat, Inc." \
distribution-scope=public \
maintainer="AOS workloads team, <aos-workloads@redhat.com>"