set privileged=true when running container
so we are not failing with selinux
This commit is contained in:
parent
2521f0bae7
commit
6626d18a50
|
@ -134,6 +134,7 @@ class Runner(object):
|
|||
|
||||
def run_commands(self, command):
|
||||
self._docker_run(
|
||||
'--privileged=true',
|
||||
'--rm', '--user=%s' % os.getlogin(),
|
||||
'-v', "%s:/src" % os.path.abspath('.'),
|
||||
'-w', '/src', self.test_image_name, *command)
|
||||
|
|
Loading…
Reference in New Issue