diff --git a/images/installer/Dockerfile.ci b/images/installer/Dockerfile.ci index f994b1f9777..72e75850667 100644 --- a/images/installer/Dockerfile.ci +++ b/images/installer/Dockerfile.ci @@ -6,11 +6,13 @@ WORKDIR /go/src/github.com/openshift/installer COPY . . RUN hack/build.sh && hack/get-terraform.sh -FROM scratch + +FROM centos:7 COPY --from=build /go/src/github.com/openshift/installer/bin/openshift-install /bin/openshift-install COPY --from=build /go/src/github.com/openshift/installer/bin/terraform /bin/terraform +RUN mkdir /output && chown 1000:1000 /output USER 1000:1000 ENV PATH /bin -ENV HOME / -WORKDIR / +ENV HOME /output +WORKDIR /output ENTRYPOINT ["/bin/openshift-install"]