build: make pinned image inputs portable

This commit is contained in:
2026-07-26 09:42:54 +00:00
committed by didericis
parent 364cad7e56
commit 1d10595e5c
11 changed files with 130 additions and 33 deletions
+2 -2
View File
@@ -133,14 +133,14 @@ def build_infra_images_with_docker() -> None:
root = str(resources.build_root())
docker_mod.build_image(
_ORCHESTRATOR_IMAGE, root, dockerfile="Dockerfile.orchestrator")
orchestrator_id = docker_mod.image_id(_ORCHESTRATOR_IMAGE)
orchestrator_base = docker_mod.pinned_local_image_ref(_ORCHESTRATOR_IMAGE)
docker_mod.build_image(
_GATEWAY_IMAGE, root, dockerfile="Dockerfile.gateway")
docker_mod.build_image(
_ORCHESTRATOR_FC_IMAGE,
root,
dockerfile="Dockerfile.orchestrator.fc",
build_args={"ORCHESTRATOR_BASE_IMAGE": orchestrator_id},
build_args={"ORCHESTRATOR_BASE_IMAGE": orchestrator_base},
)