Allow the `root` user to be forced when executing analyser images
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