Skip to content

Rhel dockerfile

DJ Mountney requested to merge rhel-dockerfile into master

Adds a rhel dockerfile for https://gitlab.com/gitlab-org/omnibus-gitlab/issues/1634

The underlying setup and install scripts are reused from the ubuntu main dockerfile. A major change is that rhel has already taken some of our uids, so I detect what host we were building on, and choose appropriate uids based on the host.

The actual install step has also been broken out in order to deal with rhel or ubuntu installs.

There is one change to the actual omnibus package in this MR. And that's to allow the sysctl execute command to fail.

Merge request reports