-
Notifications
You must be signed in to change notification settings - Fork 5
/
Dockerfile.rhel7
20 lines (15 loc) · 997 Bytes
/
Dockerfile.rhel7
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.22-openshift-4.17 AS builder
WORKDIR /go/src/github.com/openshift/run-once-duration-override
COPY . .
RUN make build
FROM registry.ci.openshift.org/ocp/builder:rhel-9-base-openshift-4.17
COPY --from=builder /go/src/github.com/openshift/run-once-duration-override/run-once-duration-override /usr/bin/
# This needs to be made configurable and removed
COPY --from=builder /go/src/github.com/openshift/run-once-duration-override/artifacts/configuration.yaml /etc/runoncedurationoverride/config/override.yaml
# This needs to be made configurable and removed
ENV CONFIGURATION_PATH=/etc/runoncedurationoverride/config/override.yaml
LABEL io.k8s.display-name="Run Once Duration Operator" \
io.k8s.description="Mutating admission webhook for run-once pods" \
io.openshift.tags="openshift,run-once-duration-override" \
com.redhat.delivery.appregistry=true \
maintainer="AOS workloads team, <aos-workloads@redhat.com>"