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

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',
)