This commit is contained in:
GeorgianaElena
2020-02-19 11:57:11 +02:00
parent c71fae19c0
commit 6fd2e44b7c
2 changed files with 33 additions and 27 deletions

View File

@@ -33,11 +33,13 @@ def run_systemd_image(image_name, container_name, branch_path):
# to need at least this much RAM to build. Boo?
# If we change this, need to change all other references to this number.
'--memory', '1G',
image_name
]
if branch_path:
cmd.append('-e', f'TLJH_BOOTSTRAP_PIP_SPEC="{branch_path}"')
cmd.append('-e')
cmd.append(f'TLJH_BOOTSTRAP_PIP_SPEC={branch_path}')
cmd.append(image_name)
subprocess.check_call(cmd)