When the `Containerfile` `ADD` instruction runs against files from a git
repository, it's easily possible the permissions will be incorrect
inside the container. Because systemd configuration and units are
rather important, update the setup script to ensure they're always set
correctly.
Signed-off-by: Chris Evich <cevich@redhat.com>
- The setup script has been broken up into function calls
to improve readability and further maintenance.
Also its beneficial for other derivations with different
base OS.
Signed-off-by: Gabriel Nützi <gnuetzi@gmail.com>
When FIPS is available on the host system, we should download the FIPS
binary for `gitlab-runner` by default. Users who do not want the FIPS
binary for some reason can use the non-FIPS binary by setting the
`ENABLE_FIPS` build-arg to `false`.
to make it plain where each file belongs in the containers file system
and to simplify the `ADD` directives in the Containerfile.
Signed-off-by: Andreas Hartmann <hartan@7x.de>