aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2019-09-10 09:10:11 +0200
committerGerd Hoffmann <kraxel@redhat.com>2019-09-10 09:10:11 +0200
commitc379cffb3301c3f1f7f973bac7009522e941b66b (patch)
tree416c7932b8ee679e95fb5f21f6a01ecd8fcd350b /Dockerfile
parent4945bdb50bad45f8ae26d6284350ed298eec5a0a (diff)
downloads2i-jekyll-c379cffb3301c3f1f7f973bac7009522e941b66b.tar.gz
install as root
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index 106bf37..694b717 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -11,6 +11,8 @@ LABEL io.k8s.description="Platform for building static jekyll sites" \
io.openshift.expose-services="8080:http" \
io.openshift.tags="jekyll,static"
+USER root
+
RUN yum install -y centos-release-scl && \
yum install -y rh-ruby${RH_RUBY_VERSION} \
rh-ruby${RH_RUBY_VERSION}-ruby-devel \