forked from openshift/ptp-operator
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
18 lines (15 loc) · 784 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.22-openshift-4.18 AS builder
WORKDIR /go/src/github.com/josephdrichard/ptp-operator
COPY . .
ENV GO111MODULE=off
RUN make
FROM registry.ci.openshift.org/ocp/4.18:base-rhel9
COPY --from=builder /go/src/github.com/josephdrichard/ptp-operator/build/_output/bin/ptp-operator /usr/local/bin/
COPY --from=builder /go/src/github.com/josephdrichard/ptp-operator/manifests /manifests
COPY bindata /bindata
LABEL io.k8s.display-name="OpenShift ptp-operator" \
io.k8s.description="This is a component that manages cluster PTP configuration." \
io.openshift.tags="openshift,ptp" \
com.redhat.delivery.appregistry=true \
maintainer="PTP Dev Team <[email protected]>"
ENTRYPOINT ["/usr/local/bin/ptp-operator"]