Merge pull request #218 from phracek/support_github_matrix

Support GitHub matrix
This commit is contained in:
phracek 2021-11-23 14:09:40 +00:00
commit eb25d3e1fe

50
Dockerfile.centos8 Normal file
View file

@ -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 <sclorg@redhat.com>"
# 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='*'