diff --git a/images/installer/Dockerfile.ci b/images/installer/Dockerfile.ci index 1d73a009f07..e4b4b7180c6 100644 --- a/images/installer/Dockerfile.ci +++ b/images/installer/Dockerfile.ci @@ -9,8 +9,7 @@ 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 yum install -y util-linux gzip && yum clean all && rm -rf /var/cache/yum/* && \ - mkdir /output && chown 1000:1000 /output +RUN mkdir /output && chown 1000:1000 /output USER 1000:1000 ENV PATH /bin ENV HOME /output diff --git a/images/installer/Dockerfile.ci.rhel7 b/images/installer/Dockerfile.ci.rhel7 index 445ef3983c4..0b1f6d31403 100644 --- a/images/installer/Dockerfile.ci.rhel7 +++ b/images/installer/Dockerfile.ci.rhel7 @@ -9,8 +9,7 @@ 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 yum install -y util-linux gzip && yum clean all && rm -rf /var/cache/yum/* && \ - mkdir /output && chown 1000:1000 /output +RUN mkdir /output && chown 1000:1000 /output USER 1000:1000 ENV PATH /bin ENV HOME /output