Skip to content
Snippets Groups Projects
Commit d1d7684d authored by Georges Racinet's avatar Georges Racinet
Browse files

Heptapod build-launch: better naming

what I remembered incorrectly as Docker environment is
actually Docker context, as any build command will tell you
in its output.
parent 4117de0b
No related branches found
No related tags found
No related merge requests found
......@@ -5,8 +5,8 @@
import subprocess
HOME = os.environ['HOME']
DOCKER_ENV_DIR = os.path.realpath(os.path.dirname(__file__))
OMNIBUS_DIR = os.path.dirname(DOCKER_ENV_DIR)
DOCKER_CONTEXT_DIR = os.path.realpath(os.path.dirname(__file__))
OMNIBUS_DIR = os.path.dirname(DOCKER_CONTEXT_DIR)
def expand_join(*segments):
......@@ -114,7 +114,7 @@
image_tag = parsed_args.image_tag
if do_build:
build_image(image_tag, DOCKER_ENV_DIR, simulate=simulate)
build_image(image_tag, DOCKER_CONTEXT_DIR, simulate=simulate)
run_cmd = ['docker', 'run', '--detach',
'--hostname', 'heptapod',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment