Investigate using microdnf instead of adding dnf to UBI images
Summary
During review of Workhorse: reduce ubi8 size by relocating chown... (gitlab-org/build/CNG!1065 - merged), I noticed that we are using dnf
instead of microdnf
in the UBI containers. This is unnecessary as dnf
only really adds value by allow search. We already know what we want to install, so microdnf
is more than sufficient.
Deliverables
- Identify where
dnf
is being installed - Convert instances of
dnf
in UBI image builds tomicrodnf