1
0
mirror of https://github.com/openshift/installer.git synced 2026-02-06 18:47:19 +01:00

Merge pull request #1497 from vrutkovs/upi-multistage-cli

Dockerfile.upi.ci: declari cli image as input image
This commit is contained in:
OpenShift Merge Robot
2019-03-29 10:04:15 -07:00
committed by GitHub

View File

@@ -8,8 +8,10 @@ WORKDIR /go/src/github.com/openshift/installer
COPY . .
RUN hack/build.sh
FROM registry.svc.ci.openshift.org/openshift/origin-v4.0:cli as cli
FROM registry.svc.ci.openshift.org/openshift/origin-v4.0:base
COPY --from=registry.svc.ci.openshift.org/openshift/origin-v4.0:cli /usr/bin/oc /bin/oc
COPY --from=cli /usr/bin/oc /bin/oc
COPY --from=builder /go/src/github.com/openshift/installer/bin/openshift-install /bin/openshift-install
COPY --from=builder /go/src/github.com/openshift/installer/upi /var/lib/openshift-install/upi
@@ -32,4 +34,3 @@ USER 1000:1000
ENV PATH /bin
ENV HOME /output
WORKDIR /output