Skip to content

Commit

Permalink
Merge pull request kubernetes-csi#9 from jsafrane/4.2-fixes
Browse files Browse the repository at this point in the history
Adjustments for OpenShift 4.2
  • Loading branch information
openshift-merge-robot authored Jun 10, 2019
2 parents 4f7d6d0 + bf13ce2 commit efa5711
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.openshift
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM registry.svc.ci.openshift.org/openshift/release:golang-1.11 AS builder
WORKDIR /go/src/github.com/kubernetes-csi/node-driver-registrar
COPY . .
RUN go build ./cmd/csi-node-driver-registrar
RUN make build

FROM registry.svc.ci.openshift.org/openshift/origin-v4.0:base
COPY --from=builder /go/src/github.com/kubernetes-csi/node-driver-registrar/csi-node-driver-registrar /usr/bin/
COPY --from=builder /go/src/github.com/kubernetes-csi/node-driver-registrar/bin/csi-node-driver-registrar /usr/bin/
RUN useradd csi-node-driver-registrar
USER csi-node-driver-registrar
ENTRYPOINT ["/usr/bin/csi-node-driver-registrar"]
4 changes: 2 additions & 2 deletions Dockerfile.openshift.rhel7
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM registry.svc.ci.openshift.org/ocp/builder:golang-1.11 AS builder
WORKDIR /go/src/github.com/kubernetes-csi/node-driver-registrar
COPY . .
RUN go build ./cmd/csi-node-driver-registrar
RUN make build

FROM registry.svc.ci.openshift.org/ocp/4.0:base
COPY --from=builder /go/src/github.com/kubernetes-csi/node-driver-registrar/csi-node-driver-registrar /usr/bin/
COPY --from=builder /go/src/github.com/kubernetes-csi/node-driver-registrar/bin/csi-node-driver-registrar /usr/bin/
RUN useradd csi-node-driver-registrar
USER csi-node-driver-registrar
ENTRYPOINT ["/usr/bin/csi-node-driver-registrar"]
1 change: 0 additions & 1 deletion OWNERS_ALIASES
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@ aliases:
- jsafrane
- tsmetana
- gnufied
- wongma7
- childsb
- bertinatto

0 comments on commit efa5711

Please sign in to comment.