Idea #21854
openBuild RHEL packages from Red Hat's UBI
Description
We currently build RHEL packages on Rocky 8 because it's more accessible. For maximum compatibility, it would be an improvement to build on a system closer to original RHEL.
This is heavy on marketing fluff but https://www.redhat.com/en/blog/introducing-red-hat-universal-base-image
The image with a "full YUM stack" and OpenSSL is registry.access.redhat.com/ubi8/ubi
See about converting our rocky8
target to this.
Updated by Brett Smith 26 days ago
Today I wanted to do some testing on RHEL8, so I set about spinning up a UBI8 VM with systemd-nspawn.
The easiest way to set up networking in this scenario is to run a DHCP client in the VM, which gets an address from systemd-networkd running on the host. After searching around for a while about how to get a DHCP client, any DHCP client, up and running on this system, I came across this CANTFIX issue with this choice quote:
We definitely didn't design the dependency tree to imply that configuring networking in the container is even supported. … UBI is really targeted towards cloud native, application developers working with languages like Java, Node.js, Golang, .Net, Perl, Python, Ruby, and PHP.
This may be too narrow for our use case. Especially when we test our built packages, we generally want the environment to be as close as possible to a "real" full RHEL system. Before anyone starts writing code, we should do a quick survey to check whether UBI even includes everything we need. At this point, I'm doubtful.