create-workspace: podman - fix case when volume is at labeled SELinux FS

This commit is contained in:
Oleksii Shevchuk 2020-03-29 22:23:31 +03:00
parent b95be4967f
commit 4a796dbbe5
1 changed files with 2 additions and 0 deletions

View File

@ -273,6 +273,7 @@ def build_templates(
args.extend([
'--name=' + container_name,
'--security-opt', 'label=disable',
'--mount', 'type=bind,src=' + git_folder +
',target=/build/workspace/project',
repo + 'tc-' + template + ':' + tag,
@ -467,6 +468,7 @@ def create_container_env(
create_command = [
orchestrator, 'create',
'--security-opt', 'label=disable',
'--hostname=pupy', '--network=' + network,
'--name='+container_name,
'--interactive', '--tty',