-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathDockerfile.ci
More file actions
18 lines (15 loc) · 802 Bytes
/
Dockerfile.ci
File metadata and controls
18 lines (15 loc) · 802 Bytes
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.24-openshift-4.22 AS builder
WORKDIR /go/src/github.com/k8snetworkplumbingwg/ptp-operator
COPY . .
ENV GO111MODULE=off
RUN make
FROM registry.ci.openshift.org/ocp/4.22:base-rhel9
COPY --from=builder /go/src/github.com/k8snetworkplumbingwg/ptp-operator/build/_output/bin/ptp-operator /usr/local/bin/
COPY --from=builder /go/src/github.com/k8snetworkplumbingwg/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 <ptp-dev@redhat.com>"
ENTRYPOINT ["/usr/local/bin/ptp-operator"]