aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Dockerfile.ubi711
1 files changed, 10 insertions, 1 deletions
diff --git a/Dockerfile.ubi7 b/Dockerfile.ubi7
index 001fae2..4a670c1 100644
--- a/Dockerfile.ubi7
+++ b/Dockerfile.ubi7
@@ -1,5 +1,5 @@
# kraxel/s2i-jekyll
-FROM registry.access.redhat.com/ubi7/ruby-25
+FROM rhscl/httpd-24-rhel7
ENV RH_RUBY_VERSION="25" \
JEKYLL_VERSION="3.8.5"
@@ -12,6 +12,15 @@ LABEL maintainer="Gerd Hoffmann <kraxel@redhat.com>" \
USER root
+RUN yum --disable-plugin=subscription-manager \
+ install -y make gcc gcc-c++ binutils \
+ glibc-devel openssl-devel \
+ rh-ruby${RH_RUBY_VERSION} \
+ rh-ruby${RH_RUBY_VERSION}-ruby-devel \
+ rh-ruby${RH_RUBY_VERSION}-rubygem-bundler && \
+ yum --disable-plugin=subscription-manager \
+ clean all -y
+
RUN for file in /usr/libexec/s2i/*; do cp -v $file ${file}.httpd; done
COPY ./s2i/bin/ /usr/libexec/s2i
COPY ./etc/scl_enable /etc/