7
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-06-08 17:02:19 +00:00

Fix dev/images formatting

This commit is contained in:
Régis Behmo 2019-10-24 21:34:14 +02:00
parent 85769715a4
commit 5e9d405a91
2 changed files with 3 additions and 7 deletions

View File

@ -77,12 +77,7 @@ def stop(root):
def docker_compose_run(root, edx_platform_path, edx_platform_settings, *command):
run_command = [
"run",
"--rm",
"-e",
"SETTINGS={}".format(edx_platform_settings),
]
run_command = ["run", "--rm", "-e", "SETTINGS={}".format(edx_platform_settings)]
if edx_platform_path:
run_command += ["--volume={}:/openedx/edx-platform".format(edx_platform_path)]
run_command += command

View File

@ -107,7 +107,8 @@ def push(root, image):
config = tutor_config.load(root)
for i in image:
push_image(root, config, i)
def push_image(root, config, image):
# Push base images
for img in BASE_IMAGE_NAMES: