Skip to content

Provide centos based docker image, in preparation of OpenShift compatibility (no…

This is a general Merge Request template. Consider to choose a template from the list above if it will match your case more.

What does this MR do?

It adds support for CentOS based docker images. The image does not require root permissions to run so the SCC (security context constraints) anyuid "hack" is no longer needed when running gitlab runners in an OpenShift environment.

The container should be able to run with a random user: docker run -u 10000 -it <image>

Why was this MR needed?

Make GitLab runners comply with OpenShift security requirements w.r.t docker users.

Are there points in the code the reviewer needs to double check?

Versions of gitbab-runner (using rpm repo) and docker-machine/dumb-init.

Does this MR meet the acceptance criteria?

  • Documentation created/updated
  • Tests
    • Added for this feature/bug
    • All builds are passing
  • Branch has no merge conflicts with master (if you do - rebase it please)

What are the relevant issue numbers?

#2990

Edited by Bart Van Bos

Merge request reports