diff --git a/Dockerfile b/Dockerfile index 0762b021b..d26db89c5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ -FROM registry.svc.ci.openshift.org/ocp/builder:rhel-8-golang-1.15-openshift-4.6 AS builder +FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.15-openshift-4.6 AS builder WORKDIR /go/src/github.com/openshift/oauth-proxy COPY . . RUN go build . -FROM registry.svc.ci.openshift.org/ocp/builder:rhel-8-base-openshift-4.6 +FROM registry.ci.openshift.org/ocp/builder:rhel-8-base-openshift-4.6 COPY --from=builder /go/src/github.com/openshift/oauth-proxy/oauth-proxy /usr/bin/oauth-proxy ENTRYPOINT ["/usr/bin/oauth-proxy"]