diff --git a/Dockerfile.openshift b/Dockerfile.openshift index 682e6ba15..d8e281208 100644 --- a/Dockerfile.openshift +++ b/Dockerfile.openshift @@ -1,8 +1,8 @@ -FROM registry.svc.ci.openshift.org/openshift/release:golang-1.13 AS builder +FROM registry.svc.ci.openshift.org/ocp/builder:rhel-8-golang-openshift-4.6 AS builder WORKDIR /go/src/github.com/kubernetes-csi/external-snapshotter COPY . . RUN make build -FROM registry.svc.ci.openshift.org/openshift/origin-v4.0:base +FROM registry.svc.ci.openshift.org/ocp/4.6:base COPY --from=builder /go/src/github.com/kubernetes-csi/external-snapshotter/bin/csi-snapshotter /usr/bin/ ENTRYPOINT ["/usr/bin/csi-snapshotter"]