A collection of containers to build more specialised containers.
Why Container collections? All containers in this repository are generic containers, i.e. they provide a consistent starting point to build more specialized containers for all kinds of applications. This collection follows the idea of a Software Collection
, as implemented in the Software Collections repository. The sclorg/welcome page provides a detailled overview of the concept.
- base-container: Basic container image based on Red Hat's Universal Base Images.
- base-golang: Golang s2i image to build and run microservices.
The source code for most of the base- and s2i images can be found in the Software Collections repo.
To build the container images locally, make sure you have Podman installed and running.
Start the build with:
make build-all
To build the container images on Red Hat OpenShift, make sure that the OpenShift command line utility oc
is installed and that you are logged into the OpenShift cluster.
Start the build with:
make build-all-openshift
This creates a dedicated project/namespace to run the builds in and deploys the build configurations into the namespace. The image streams are created in the openshift
namespace.
To verify that the builds are running:
oc get builds -n $BUILD_NAMESPACE