46 lines
1.5 KiB
Docker
46 lines
1.5 KiB
Docker
# This image is the base image for all OpenShift v3 language Docker images.
|
|
FROM registry.fedoraproject.org/f27/s2i-core
|
|
|
|
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.' NAME=s2i-base VERSION=1 RELEASE=12 ARCH=x86_64
|
|
|
|
LABEL summary="$SUMMARY" \
|
|
description="$DESCRIPTION" \
|
|
io.k8s.description="$DESCRIPTION" \
|
|
io.k8s.display-name="s2i base" \
|
|
com.redhat.component="$NAME" \
|
|
name="$FGC/$NAME" \
|
|
version="$VERSION" \
|
|
release="$RELEASE.$DISTTAG" \
|
|
architecture="$ARCH" \
|
|
maintainer="SoftwareCollections.org <sclorg@redhat.com>"
|
|
|
|
# This is the list of basic dependencies that all language Docker image can
|
|
# consume.
|
|
RUN INSTALL_PKGS="autoconf \
|
|
automake \
|
|
bzip2 \
|
|
gcc-c++ \
|
|
gd-devel \
|
|
gdb \
|
|
git \
|
|
libcurl-devel \
|
|
libxml2-devel \
|
|
libxslt-devel \
|
|
lsof \
|
|
make \
|
|
mariadb-devel \
|
|
mariadb-libs \
|
|
npm \
|
|
openssl-devel \
|
|
patch \
|
|
postgresql-devel \
|
|
procps-ng \
|
|
sqlite-devel \
|
|
unzip \
|
|
wget \
|
|
which \
|
|
zlib-devel" && \
|
|
dnf install -y --setopt=tsflags=nodocs $INSTALL_PKGS && \
|
|
rpm -V --noghost $INSTALL_PKGS && \
|
|
dnf clean all -y
|
|
# the reason for --noghost: https://bugzilla.redhat.com/show_bug.cgi?id=1533092
|