- The OpenSuse 42.3 container image does not contain the `hostname`
binary by default. GitlabCtl::Util requires the `hostname` binary
when invoking its fqdn method.
Related: https://gitlab.com/gitlab-org/omnibus-gitlab/issues/2885
Signed-off-by: Robert Marshall <rmarshall@gitlab.com>
Every package manager should clean up after themselves in order to keep
docker layers neat and tiny:
apt (Debian/Ubuntu package manager):
- unneeded dependencies are cleared (autoremove)
- caches are cleaned (clean)
- package lists are deleted
yum (CentOS package manager),
zypper (OpenSuse package manager)
- should clear caches after installing dependencies
pip (Python package manager),
apk (Alpine package manager)
- should use no cache for installing dependencies