diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2020-02-03 14:24:42 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-02-03 14:24:42 +0100 |
commit | 4bdf2d55acd002a6239fb0cf9f8998640d0479cb (patch) | |
tree | 6e92ff9b4fa7d2f4d17860cfceb6c2f97bd9ebc5 | |
parent | d7713692b18898e09a420a661ae3c491840891ea (diff) | |
download | s2i-jekyll-4bdf2d55acd002a6239fb0cf9f8998640d0479cb.tar.gz |
httpd
-rw-r--r-- | Dockerfile.ubi8 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Dockerfile.ubi8 b/Dockerfile.ubi8 index 376e4ce..1bba7d0 100644 --- a/Dockerfile.ubi8 +++ b/Dockerfile.ubi8 @@ -19,11 +19,12 @@ USER root COPY ./s2i/bin/ /usr/libexec/s2i COPY ./etc/jekyll-documentroot.conf /etc/httpd/conf.d/ -RUN gem install jekyll --version "= $JEKYLL_VERSION" +RUN dnf upate -y;\ + dnf install -y httpd;\ + gem install jekyll --version "= $JEKYLL_VERSION" RUN mkdir -p /opt/app-root;\ chmod 755 /opt /opt/app-root;\ - useradd -d /opt/app-root/src -u 1001 default;\ mkdir -p /run/httpd;\ chmod 777 /run/httpd /etc/httpd/logs;\ sed -i -e '/Listen/s/^/#/' /etc/httpd/conf/httpd.conf;\ |