-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathDockerfile
More file actions
13 lines (12 loc) · 715 Bytes
/
Copy pathDockerfile
File metadata and controls
13 lines (12 loc) · 715 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
FROM registry.ci.openshift.org/openshift/release:golang-1.19 AS builder
WORKDIR /go/src/github.com/rvanderp3/machine-ipam-controller
COPY . .
ENV GO_PACKAGE github.com/rvanderp3/machine-ipam-controller
RUN NO_DOCKER=1 make build
# FROM registry.ci.openshift.org/openshift/origin-v4.0:base
# FROM registry.ci.openshift.org/ocp/4.13:base
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.7-1107
COPY --from=builder /go/src/github.com/rvanderp3/machine-ipam-controller/install manifests
COPY --from=builder /go/src/github.com/rvanderp3/machine-ipam-controller/bin/mapi-static-ip-controller /usr/bin/mapi-static-ip-controller
ENTRYPOINT ["/usr/bin/mapi-static-ip-controller"]
LABEL io.openshift.release.operator=true