Skip to content

Commit

Permalink
Merge pull request kubernetes-csi#33 from jsafrane/add-webhook-docker…
Browse files Browse the repository at this point in the history
…file

UPSTREAM: <carry>: Add Dockerfile for the admission webhook
  • Loading branch information
openshift-merge-robot authored Nov 18, 2020
2 parents 2361527 + 8447d8b commit bd8b7ba
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile.openshift.rhel7
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ WORKDIR /go/src/github.com/kubernetes-csi/external-snapshotter
COPY . .
RUN make build

FROM registry.svc.ci.openshift.org/ocp/4.6:base
FROM registry.svc.ci.openshift.org/ocp/4.7:base
COPY --from=builder /go/src/github.com/kubernetes-csi/external-snapshotter/bin/csi-snapshotter /usr/bin/
ENTRYPOINT ["/usr/bin/csi-snapshotter"]
8 changes: 8 additions & 0 deletions Dockerfile.webhook.openshift.rhel7
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM registry.svc.ci.openshift.org/ocp/builder:rhel-8-golang-1.15-openshift-4.7 AS builder
WORKDIR /go/src/github.com/kubernetes-csi/external-snapshotter
COPY . .
RUN make build

FROM registry.svc.ci.openshift.org/ocp/4.7:base
COPY --from=builder /go/src/github.com/kubernetes-csi/external-snapshotter/bin/snapshot-validation-webhook /usr/bin/
ENTRYPOINT ["/usr/bin/snapshot-validation-webhook"]

0 comments on commit bd8b7ba

Please sign in to comment.