Create set of Cloud Native GitLab images using RHEL Universal Base Image
Summary
Customers are requesting officially supported RHEL containers for deployment and support of their GitLab instance in order to streamline their operation and deployment of GitLab and receive support from Red Hat.
Additionally, beginning to build our Cloud Native GitLab (CNG) images using RHEL Universal Base Image (UBI) will allow us to provide hardened images to regulated industries.
Proposal
This is a research task for building a version of all the CNG images with UBI8 as the base image. The end goal is to have images that work when booted in the docker-compose file provided in the CNG repo. This first issue is intended as a research task, so publishing these with our release tags is not required. We will look at that in a followup issue once we have these working, and once we have a fuller idea of the requirements.
To start I suggest using the same job folders as what is existing, but adding a new Dockerfile to each for UBI8. When possible common RUN commands between the two dockerfiles should be extracted into a script that can be shared by both.
To start maybe we have which dockerfile is used to build controlled by a CI variable flag, similar to how we choose between building CE or EE in omnibus-gitlab's pipelines. This would mean that no single pipeline build both the UBI and the non-UBI.
In Scope
Create experimental images that use UBI8 and can be made available for testing.
References
Part of &4 (closed)