summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorOpenShift Bot <eparis+openshiftbot@redhat.com>2017-03-23 14:22:35 -0500
committerGitHub <noreply@github.com>2017-03-23 14:22:35 -0500
commit8751f883b28e9f04b31038e16efad9036527f890 (patch)
tree025ad2133d9cbf2e678ea0ac863ce2da9d207843 /Dockerfile
parentadbf60c2d5a63d33e2a6d52d043124ad0058a0e1 (diff)
parenta35bd91e8f4a3a08dfdd9bb2a68d4023cb389408 (diff)
downloadopenshift-8751f883b28e9f04b31038e16efad9036527f890.tar.gz
openshift-8751f883b28e9f04b31038e16efad9036527f890.tar.bz2
openshift-8751f883b28e9f04b31038e16efad9036527f890.tar.xz
openshift-8751f883b28e9f04b31038e16efad9036527f890.zip
Merge pull request #3461 from juanvallejo/jvallejo/add-docker-image-check
Merged by openshift-bot
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index c6593491d..eecf3630b 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -14,6 +14,15 @@ LABEL name="openshift-ansible" \
io.openshift.expose-services="" \
io.openshift.tags="openshift,install,upgrade,ansible"
+USER root
+
+RUN INSTALL_PKGS="skopeo" && \
+ yum install -y --setopt=tsflags=nodocs $INSTALL_PKGS && \
+ rpm -V $INSTALL_PKGS && \
+ yum clean all
+
+USER ${USER_UID}
+
# The playbook to be run is specified via the PLAYBOOK_FILE env var.
# This sets a default of openshift_facts.yml as it's an informative playbook
# that can help test that everything is set properly (inventory, sshkeys)