-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
United F40, C10S and C9S a couple bit more
as suggested by @hhorak. Signed-off-by: Petr "Stone" Hracek <[email protected]>
- Loading branch information
Showing
4 changed files
with
26 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,15 +7,16 @@ builder images like perl, python, ruby, etc." \ | |
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=20 | ||
NODEJS_VER=20 \ | ||
NAME=s2i-base | ||
|
||
LABEL summary="$SUMMARY" \ | ||
description="$DESCRIPTION" \ | ||
io.k8s.description="$DESCRIPTION" \ | ||
io.k8s.display-name="s2i base" \ | ||
com.redhat.component="s2i-base-container" \ | ||
name="sclorg/s2i-base-c10s" \ | ||
version="1" \ | ||
com.redhat.component="$NAME-container" \ | ||
name="sclorg/$NAME-c$VERSIONs" \ | ||
version="$VERSION" \ | ||
maintainer="SoftwareCollections.org <[email protected]>" | ||
|
||
# This is the list of basic dependencies that all language container image can | ||
|
@@ -47,4 +48,4 @@ RUN INSTALL_PKGS="nodejs autoconf \ | |
dnf install -y --setopt=tsflags=nodocs $INSTALL_PKGS && \ | ||
rpm -V $INSTALL_PKGS && \ | ||
node -v | grep -qe "^v$NODEJS_VER\." && echo "Found VERSION $NODEJS_VER" && \ | ||
yum -y clean all --enablerepo='*' | ||
dnf -y clean all --enablerepo='*' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,15 +7,16 @@ builder images like perl, python, ruby, etc." \ | |
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=20 | ||
NODEJS_VER=20 \ | ||
NAME=s2i-base | ||
|
||
LABEL summary="$SUMMARY" \ | ||
description="$DESCRIPTION" \ | ||
io.k8s.description="$DESCRIPTION" \ | ||
io.k8s.display-name="s2i base" \ | ||
com.redhat.component="s2i-base-container" \ | ||
name="sclorg/s2i-base-c9s" \ | ||
version="1" \ | ||
com.redhat.component="$NAME-container" \ | ||
name="sclorg/$NAME-c$VERSIONs" \ | ||
version="$VERSION" \ | ||
maintainer="SoftwareCollections.org <[email protected]>" | ||
|
||
# This is the list of basic dependencies that all language container image can | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,16 +5,18 @@ ENV SUMMARY="Base image which allows using of source-to-image." \ | |
DESCRIPTION="The s2i-core image provides any images layered on top of it \ | ||
with all the tools needed to use source-to-image functionality while keeping \ | ||
the image size as small as possible." | ||
NAME=s2i-core \ | ||
VERSION=10 | ||
|
||
LABEL summary="$SUMMARY" \ | ||
description="$DESCRIPTION" \ | ||
io.k8s.description="$DESCRIPTION" \ | ||
io.k8s.display-name="s2i core" \ | ||
io.openshift.s2i.scripts-url=image:///usr/libexec/s2i \ | ||
io.s2i.scripts-url=image:///usr/libexec/s2i \ | ||
com.redhat.component="s2i-core-container" \ | ||
name="sclorg/s2i-core-c10s" \ | ||
version="1" \ | ||
com.redhat.component="$NAME-container" \ | ||
name="sclorg/$NAME-c$VERSIONs" \ | ||
version="$VERSION" \ | ||
maintainer="SoftwareCollections.org <[email protected]>" | ||
|
||
ENV \ | ||
|
@@ -36,10 +38,10 @@ ENV \ | |
|
||
RUN INSTALL_PKGS="bsdtar \ | ||
findutils \ | ||
gettext \ | ||
glibc-langpack-en \ | ||
groff-base \ | ||
glibc-locale-source \ | ||
glibc-langpack-en \ | ||
gettext \ | ||
rsync \ | ||
scl-utils \ | ||
tar \ | ||
|
@@ -48,9 +50,9 @@ RUN INSTALL_PKGS="bsdtar \ | |
yum" && \ | ||
mkdir -p ${HOME}/.pki/nssdb && \ | ||
chown -R 1001:0 ${HOME}/.pki && \ | ||
yum install -y --setopt=tsflags=nodocs $INSTALL_PKGS && \ | ||
dnf install -y --setopt=tsflags=nodocs $INSTALL_PKGS && \ | ||
rpm -V $INSTALL_PKGS && \ | ||
yum -y clean all --enablerepo='*' | ||
dnf -y clean all --enablerepo='*' | ||
|
||
# Copy extra files to the image. | ||
COPY ./core/root/ / | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters