Building base images
Some of the images built in the next section, Building the Docker® images require authentication with the Red Hat Container Registry.
If you do not have an active Red Hat Subscription you will need to build these images from source instead. If you do have an appropriate subscription, you do not need to build from source, please continue to Building the Docker® image.
If you do need to build from source, you can do so with the following steps.
IBM® SDK, Java™ Technology Edition
Clone repository and change into the working directory:
git clone https://github.com/ibmruntimes/ci.docker.gitcd ci.docker/ibmjava/testsBuild image:
./build.sh ibm/ibmjava8-sdk-ubi8-minimal:8.0.8.30 ../8/sdk/ubi-min
S2I Core (required for Apache HTTP Server)
Install prerequisite packages:
Ubuntu/Debian:
sudo apt-get install go-md2man make
CentOS/RHEL:
sudo yum install go-md2man make
go-md2man
is available in the following repositories:go-md2man
can also be installed as a Go packagego get github.com/cpuguy83/go-md2manexport PATH=$PATH:$HOME/go/bin
MacOS:
brew install bash coreutils go-md2man
Reopen the terminal after installing these packages
Update the
PATH
variable to use the GNU version of commands that also exist on MacOS:export PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH"
Clone repository and change into the working directory:
git clone --recursive https://github.com/sclorg/s2i-base-container.gitcd s2i-base-containerBuild image:
make build TARGET=rhel8 VERSIONS=core
Apache HTTP Server
Clone repository and change into the working directory:
git clone --recursive https://github.com/sclorg/httpd-container.gitcd httpd-containerBuild image:
make tag TARGET=rhel8 VERSIONS=2.4