aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2020-02-03 14:24:42 +0100
committerGerd Hoffmann <kraxel@redhat.com>2020-02-03 14:24:42 +0100
commit4bdf2d55acd002a6239fb0cf9f8998640d0479cb (patch)
tree6e92ff9b4fa7d2f4d17860cfceb6c2f97bd9ebc5
parentd7713692b18898e09a420a661ae3c491840891ea (diff)
downloads2i-jekyll-4bdf2d55acd002a6239fb0cf9f8998640d0479cb.tar.gz
httpd
-rw-r--r--Dockerfile.ubi85
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;\