Skip to content

Allow the `root` user to be forced when executing analyser images

James Liu requested to merge jliu-force-root into main

Adds an option called privileged to the DockerRunner initialiser that will execute the container as root, despite the USER defined in the Dockerfile.

This works around a permissions problem when executing integration-test against groupstatic analysis' FIPS images, which run under the gitlab user. See the issue for more context: gitlab-org/gitlab#381209 (closed)

Edited by James Liu

Merge request reports