forked from openshift/sriov-network-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile.rhel7
16 lines (15 loc) · 916 Bytes
/
Dockerfile.rhel7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM registry.svc.ci.openshift.org/openshift/release:golang-1.10 AS builder
WORKDIR /go/src/github.com/openshift/sriov-network-operator
COPY . .
RUN make _build-manager BIN_PATH=build/_output/cmd
FROM registry.svc.ci.openshift.org/openshift/origin-v4.0:base
LABEL io.k8s.display-name="OpenShift sriov-network-operator" \
io.k8s.description="This is the component that manange and config sriov component in Openshift cluster" \
io.openshift.tags="openshift,networking,sr-iov" \
com.redhat.delivery.appregistry=true \
maintainer="Multus team <[email protected]>"
COPY --from=builder /go/src/github.com/openshift/sriov-network-operator/build/_output/cmd/manager /usr/bin/sriov-network-operator
COPY --from=builder /go/src/github.com/openshift/sriov-network-operator/manifests /manifests
COPY bindata /bindata
ENV OPERATOR_NAME=sriov-network-operator
CMD ["/usr/bin/sriov-network-operator"]