Support "custom" repositories
Say I want to use a CentOS container, but the packages I need to install are in EPEL. I can just install epel-release
, but since the templates run dnf install
only once, they will not pick up the new repository.
This could be solved by including something like FDO_DISTRIBUTION_PREXEC
, analogous to FDO_DISTRIBUTION_EXEC
.
Another option is allowing to include ;
in the FDO_DISTRIBUTION_PACKAGES
string, split it and run as many commands as they exist.
There is a similar problem for other OS. This is done is a custom way in srht: https://man.sr.ht/builds.sr.ht/compatibility.md
Many thanks for this project, it's a life saver for CI.