forked from openshift/secondary-scheduler-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile.rhel7
17 lines (14 loc) · 951 Bytes
/
Dockerfile.rhel7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.19-openshift-4.13 AS builder
WORKDIR /go/src/github.com/openshift/secondary-scheduler-operator
COPY . .
RUN make build
FROM registry.ci.openshift.org/ocp/builder:rhel-8-base-openshift-4.13
COPY --from=builder /go/src/github.com/openshift/secondary-scheduler-operator/secondary-scheduler-operator /usr/bin/
# Upstream bundle and index images does not support versioning so
# we need to copy a specific version under /manifests layout directly
COPY --from=builder /go/src/github.com/openshift/secondary-scheduler-operator/manifests/* /manifests/
LABEL io.k8s.display-name="OpenShift Secondary-scheduler Operator" \
io.k8s.description="This is a component of OpenShift and manages the secondary scheduler" \
io.openshift.tags="openshift,secondary-scheduler-operator" \
com.redhat.delivery.appregistry=true \
maintainer="AOS workloads team, <[email protected]>"