From eb25d3e1fe5aa2bdb01609665be0bbda20100cd7 Mon Sep 17 00:00:00 2001 From: phracek Date: Tue, 23 Nov 2021 14:09:40 +0000 Subject: [PATCH] Merge pull request #218 from phracek/support_github_matrix Support GitHub matrix --- Dockerfile.centos8 | 50 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 Dockerfile.centos8 diff --git a/Dockerfile.centos8 b/Dockerfile.centos8 new file mode 100644 index 0000000..b4ce7b9 --- /dev/null +++ b/Dockerfile.centos8 @@ -0,0 +1,50 @@ +# This image is the base image for all OpenShift v3 language container images. +FROM centos/s2i-core-centos8 + +ENV SUMMARY="Base image with essential libraries and tools used as a base for \ +builder images like perl, python, ruby, etc." \ + DESCRIPTION="The s2i-base image, being built upon s2i-core, provides any \ +images layered on top of it with all the tools needed to use source-to-image \ +functionality. Additionally, s2i-base also contains various libraries needed for \ +it to serve as a base for other builder images, like s2i-python or s2i-ruby." \ + NODEJS_VER=14 + +LABEL summary="$SUMMARY" \ + description="$DESCRIPTION" \ + io.k8s.description="$DESCRIPTION" \ + io.k8s.display-name="s2i base" \ + com.redhat.component="s2i-base-container" \ + name="centos/s2i-base-centos8" \ + version="1" \ + maintainer="SoftwareCollections.org " + +# This is the list of basic dependencies that all language container image can +# consume. +RUN yum -y module enable nodejs:$NODEJS_VER && \ + INSTALL_PKGS="autoconf \ + automake \ + bzip2 \ + gcc-c++ \ + gd-devel \ + gdb \ + git \ + libcurl-devel \ + libpq-devel \ + libxml2-devel \ + libxslt-devel \ + lsof \ + make \ + mariadb-connector-c-devel \ + openssl-devel \ + patch \ + procps-ng \ + npm \ + redhat-rpm-config \ + sqlite-devel \ + unzip \ + wget \ + which \ + zlib-devel" && \ + yum install -y --setopt=tsflags=nodocs $INSTALL_PKGS && \ + rpm -V $INSTALL_PKGS && \ + yum -y clean all --enablerepo='*'