Skip to content

Commit

Permalink
Merge pull request #1262 from smarterclayton/depend_util_linux
Browse files Browse the repository at this point in the history
image: Take explicit dependency on util-linux for uuidgen and gzip
  • Loading branch information
smarterclayton authored Feb 16, 2019
2 parents 5af1819 + 71d199c commit 03c258b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion images/installer/Dockerfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ RUN hack/build.sh

FROM registry.svc.ci.openshift.org/openshift/origin-v4.0:base
COPY --from=builder /go/src/github.com/openshift/installer/bin/openshift-install /bin/openshift-install
RUN mkdir /output && chown 1000:1000 /output
RUN yum install -y util-linux gzip && yum clean all && rm -rf /var/cache/yum/* && \
mkdir /output && chown 1000:1000 /output
USER 1000:1000
ENV PATH /bin
ENV HOME /output
Expand Down
3 changes: 2 additions & 1 deletion images/installer/Dockerfile.ci.rhel7
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ RUN hack/build.sh

FROM registry.svc.ci.openshift.org/ocp/4.0:base
COPY --from=builder /go/src/github.com/openshift/installer/bin/openshift-install /bin/openshift-install
RUN mkdir /output && chown 1000:1000 /output
RUN yum install -y util-linux gzip && yum clean all && rm -rf /var/cache/yum/* && \
mkdir /output && chown 1000:1000 /output
USER 1000:1000
ENV PATH /bin
ENV HOME /output
Expand Down

0 comments on commit 03c258b

Please sign in to comment.