UBI based images and libnl
Hi. I'm trying to get our product built for rhel9 currently. We use a container image to build for different distros. There's a peculiar thing with the ubi-repositories that libnl3-devel isn't available. The same package is available in the non-ubi-based images.
So I get most of the way there by having:
RUN dnf install -y gcc-toolset-13 \
cmake \
libnl3 \
openssl-devel \
expat-devel \
libevent-devel
in the dockerfile.
Now the rpm generated from this would be distributed to machines running regular rhel9. So two questions arise:
-
For building this rpm, should I try to use the ubi-image or rhel-image? If the rhel-image, can I use it without jumping through hoops. e.g. when I gave rhel9/rhel-bootc a go, dnf repolist is empty and there's just a bunch of warnings about entitlement servers etc.
-
If I am to use the ubi-image, how should I get the libnl3-devel package? Seems a bit odd that openssl etc. have the devel-package but not libnl3
Thanks!