From d8522e9b056b65a70e07397735b9d8a09b6646e6 Mon Sep 17 00:00:00 2001 From: Vadim Rutkovsky Date: Fri, 29 Mar 2019 16:08:14 +0100 Subject: [PATCH] Dockerfile.upi.ci: declari cli image as input image --- images/installer/Dockerfile.upi.ci | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/images/installer/Dockerfile.upi.ci b/images/installer/Dockerfile.upi.ci index f722344e6b8..1040c0129ad 100644 --- a/images/installer/Dockerfile.upi.ci +++ b/images/installer/Dockerfile.upi.ci @@ -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 -