From 85cf4c997b257dbc6621c5fc9020a7834677787e Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Sun, 15 Sep 2019 22:42:12 +0200 Subject: add ubi7 version --- Dockerfile.ubi7 | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Dockerfile.ubi7 diff --git a/Dockerfile.ubi7 b/Dockerfile.ubi7 new file mode 100644 index 0000000..6586a9b --- /dev/null +++ b/Dockerfile.ubi7 @@ -0,0 +1,24 @@ +# kraxel/s2i-jekyll +FROM registry.access.redhat.com/ubi7/ruby-25 + +ENV RH_RUBY_VERSION="25" \ + JEKYLL_VERSION="3.8.5" + +LABEL maintainer="Gerd Hoffmann " \ + io.k8s.description="Platform for building static jekyll sites" \ + io.k8s.display-name="Jekyll ${JEKYLL_VERSION}" \ + io.openshift.expose-services="8080:http" \ + io.openshift.tags="jekyll,static" + +USER root + +RUN for file in /usr/libexec/s2i/*; do cp -v $file ${file}.httpd; done +COPY ./s2i/bin/ /usr/libexec/s2i +COPY ./etc/jekyll-documentroot.conf /etc/httpd/conf.d/ + +RUN gem install jekyll --version "= $JEKYLL_VERSION" + +USER 1001 +EXPOSE 8080 + +CMD ["/usr/libexec/s2i/usage"] -- cgit