diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2020-02-03 13:53:12 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-02-03 13:53:12 +0100 |
commit | 06529ce594d4d580eadd28e99d64e00b621287ee (patch) | |
tree | a64792fc355d02fb5d8e135a525d11c88ce63d6f | |
parent | 015c202bd04e077bf8e87ea283e29181172cf9a5 (diff) | |
download | s2i-jekyll-06529ce594d4d580eadd28e99d64e00b621287ee.tar.gz |
drop centos7
-rw-r--r-- | Dockerfile.centos7 | 40 | ||||
-rw-r--r-- | etc/scl_enable | 2 |
2 files changed, 0 insertions, 42 deletions
diff --git a/Dockerfile.centos7 b/Dockerfile.centos7 deleted file mode 100644 index 9856341..0000000 --- a/Dockerfile.centos7 +++ /dev/null @@ -1,40 +0,0 @@ -# kraxel/s2i-jekyll -FROM centos/httpd-24-centos7 - -ENV RH_RUBY_VERSION="25" \ - JEKYLL_VERSION="3.8.5" \ - SUMMARY="Jekyll ${JEKYLL_VERSION}" \ - DESCRIPTION="Platform for building static jekyll sites (centos7)" - -LABEL maintainer="Gerd Hoffmann <kraxel@redhat.com>" \ - summary="${SUMMARY}" \ - description="${DESCRIPTION}" \ - io.k8s.display-name="${SUMMARY}" \ - io.k8s.description="${DESCRIPTION}" \ - io.openshift.expose-services="8080:http" \ - io.openshift.tags="jekyll,static" - -USER root - -RUN yum install -y centos-release-scl && \ - yum 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 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/ -COPY ./etc/jekyll-documentroot.conf /etc/httpd/conf.d/ - -ENV BASH_ENV="/etc/scl_enable" - -RUN source /etc/scl_enable; \ - gem install jekyll --version "= $JEKYLL_VERSION" - -USER 1001 -EXPOSE 8080 - -CMD ["/usr/libexec/s2i/usage"] diff --git a/etc/scl_enable b/etc/scl_enable deleted file mode 100644 index 1f4f614..0000000 --- a/etc/scl_enable +++ /dev/null @@ -1,2 +0,0 @@ -source scl_source enable httpd24 -source scl_source enable rh-ruby${RH_RUBY_VERSION} |