diff --git a/stack_orchestrator/build/build_containers.py b/stack_orchestrator/build/build_containers.py index 7f17daaf..eca1224b 100644 --- a/stack_orchestrator/build/build_containers.py +++ b/stack_orchestrator/build/build_containers.py @@ -172,13 +172,17 @@ def command(ctx, include, exclude, force_rebuild, extra_build_args, publish_imag container_build_env = make_container_build_env(dev_root_path, container_build_dir, opts.o.debug, - opts.o.force_rebuild, + force_rebuild, extra_build_args) for container in containers_in_scope: if include_exclude_check(container, include, exclude): build_context = BuildContext( - + stack, + container, + container_build_dir, + container_build_env, + dev_root_path ) process_container(build_context) else: diff --git a/stack_orchestrator/build/build_types.py b/stack_orchestrator/build/build_types.py index 33a8966e..6ddbc2ad 100644 --- a/stack_orchestrator/build/build_types.py +++ b/stack_orchestrator/build/build_types.py @@ -24,4 +24,5 @@ class BuildContext: stack: str container: str container_build_dir: Path - container_build_env: Mapping[str,str] \ No newline at end of file + container_build_env: Mapping[str,str] + dev_root_path: str