forked from openshift/secondary-scheduler-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
17 lines (14 loc) · 923 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM registry.ci.openshift.org/openshift/release:golang-1.18 AS builder
WORKDIR /go/src/github.com/openshift/secondary-scheduler-operator
COPY . .
RUN make build
FROM registry.ci.openshift.org/openshift/origin-v4.0:base
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]>"