Follow-up from "Changes to convert runner/ubi-fips/Dockerfile to be based on new ubi-micro based BASE_IMAGE"
The following discussion from !9 (merged) should be addressed:
-
@WarheadsSE started a discussion: (+9 comments)
Summary
The RPM packages are installed using rpm
directly, and without arguments for a sysroot (--root
). Switcing to this call will simplify the building of the final images.
Details
install-gitlab-runner calls rpm -i /tmp/{pacakge}-fips.rpm
before microdnf install
. This script can be reworked to make use of --root
argument of rpm
, and the --install-root
arguments of micordnf
. The RPM file, nor rpm
call, ever needs to be in the final filesystem.