Add selinux labelling option to docker_image hook type

This commit is contained in:
Jimmi Dyson 2017-10-23 11:08:06 +01:00
parent 39d5205e31
commit f0cf940cb5
No known key found for this signature in database
GPG key ID: 978CD4AF4C1E87F5

View file

@ -82,7 +82,7 @@ def docker_cmd():
'docker', 'run',
'--rm',
'-u', '{}:{}'.format(os.getuid(), os.getgid()),
'-v', '{}:/src:rw'.format(os.getcwd()),
'-v', '{}:/src:rw,Z'.format(os.getcwd()),
'--workdir', '/src',
)