mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-12 06:07:56 +00:00
Fix dev/images formatting
This commit is contained in:
parent
85769715a4
commit
5e9d405a91
@ -77,12 +77,7 @@ def stop(root):
|
|||||||
|
|
||||||
|
|
||||||
def docker_compose_run(root, edx_platform_path, edx_platform_settings, *command):
|
def docker_compose_run(root, edx_platform_path, edx_platform_settings, *command):
|
||||||
run_command = [
|
run_command = ["run", "--rm", "-e", "SETTINGS={}".format(edx_platform_settings)]
|
||||||
"run",
|
|
||||||
"--rm",
|
|
||||||
"-e",
|
|
||||||
"SETTINGS={}".format(edx_platform_settings),
|
|
||||||
]
|
|
||||||
if edx_platform_path:
|
if edx_platform_path:
|
||||||
run_command += ["--volume={}:/openedx/edx-platform".format(edx_platform_path)]
|
run_command += ["--volume={}:/openedx/edx-platform".format(edx_platform_path)]
|
||||||
run_command += command
|
run_command += command
|
||||||
|
@ -107,7 +107,8 @@ def push(root, image):
|
|||||||
config = tutor_config.load(root)
|
config = tutor_config.load(root)
|
||||||
for i in image:
|
for i in image:
|
||||||
push_image(root, config, i)
|
push_image(root, config, i)
|
||||||
|
|
||||||
|
|
||||||
def push_image(root, config, image):
|
def push_image(root, config, image):
|
||||||
# Push base images
|
# Push base images
|
||||||
for img in BASE_IMAGE_NAMES:
|
for img in BASE_IMAGE_NAMES:
|
||||||
|
Loading…
Reference in New Issue
Block a user