-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathDockerfile
21 lines (18 loc) · 1.09 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_1.22 as builder
WORKDIR /go/src/github.com/openshift/secondary-scheduler-operator
COPY . .
RUN make build --warn-undefined-variables
FROM registry.redhat.io/rhel9-4-els/rhel-minimal:9.4-12
COPY --from=builder /go/src/github.com/openshift/secondary-scheduler-operator/secondary-scheduler-operator /usr/bin/
RUN mkdir /licenses
COPY --from=builder /go/src/github.com/openshift/secondary-scheduler-operator/LICENSE /licenses/.
LABEL io.k8s.display-name="OpenShift Secondary-scheduler Operator based on RHEL 9" \
io.k8s.description="This is a component of OpenShift and manages the secondary scheduler based on RHEL 9" \
com.redhat.component="secondary-scheduler-operator-container" \
name="secondary-scheduler-rhel9-operator" \
summary="secondary-scheduler-operator" \
io.openshift.expose-services="" \
io.openshift.tags="openshift,secondary-scheduler-operator" \
description="secondary-scheduler-operator-container" \
maintainer="AOS workloads team, <[email protected]>"
USER nobody