Skip to content

Commit

Permalink
Merge pull request #347 from dgoodwin/centos-ci-image
Browse files Browse the repository at this point in the history
Use CentOS 7 base for CI images.
  • Loading branch information
openshift-merge-robot committed Sep 27, 2018
2 parents dd4da22 + a9fc067 commit a56116a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions images/installer/Dockerfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit a56116a

Please sign in to comment.