@@ -403,12 +403,13 @@ sh *args:
403403
404404# Build containers in a sterile environment
405405[script ]
406- build-container : (sterile " _network=none" " cargo" " --locked" " build" (" --profile=" + profile) (" --target=" + target) " --package=dataplane" " --package=dataplane-cli" ) && version
406+ build-container : (sterile " _network=none" " cargo" " --locked" " build" (" --profile=" + profile) (" --target=" + target) " --package=dataplane" " --package=dataplane-cli" " --package=dataplane-init" ) && version
407407 {{ _just_debuggable_ }}
408408 {{ _define_truncate128 }}
409409 mkdir -p " artifact/{{ target }} /{{ profile }} "
410410 cp -r " ${CARGO_TARGET_DIR:-target}/{{ target }} /{{ profile }} /dataplane" " artifact/{{ target }} /{{ profile }} /dataplane"
411411 cp -r " ${CARGO_TARGET_DIR:-target}/{{ target }} /{{ profile }} /cli" " artifact/{{ target }} /{{ profile }} /dataplane-cli"
412+ cp -r " ${CARGO_TARGET_DIR:-target}/{{ target }} /{{ profile }} /dataplane-init" " artifact/{{ target }} /{{ profile }} /dataplane-init"
412413 declare build_date
413414 build_date=" $(date --utc --iso-8601=date --date="{{ _build_time }} " )"
414415 declare -r build_date
@@ -426,6 +427,7 @@ build-container: (sterile "_network=none" "cargo" "--locked" "build" ("--profile
426427 - -tag " ${TAG}" \
427428 - -build-arg ARTIFACT=" artifact/{{ target }} /{{ profile }} /dataplane" \
428429 - -build-arg ARTIFACT_CLI=" artifact/{{ target }} /{{ profile }} /dataplane-cli" \
430+ - -build-arg ARTIFACT_INIT=" artifact/{{ target }} /{{ profile }} /dataplane-init" \
429431 - -build-arg BASE=" {{ _dataplane_base_container }} " \
430432 .
431433
@@ -445,12 +447,13 @@ build-container: (sterile "_network=none" "cargo" "--locked" "build" ("--profile
445447
446448# Build a container for local testing, without cache and extended base
447449[script ]
448- build-container-quick : (compile-env " cargo" " --locked" " build" (" --target=" + target) " --package=dataplane" " --package=dataplane-cli" )
450+ build-container-quick : (compile-env " cargo" " --locked" " build" (" --target=" + target) " --package=dataplane" " --package=dataplane-cli" " --package=dataplane-init" )
449451 {{ _just_debuggable_ }}
450452 {{ _define_truncate128 }}
451453 mkdir -p " artifact/{{ target }} /{{ profile }} "
452454 cp -r " ${CARGO_TARGET_DIR:-target}/{{ target }} /{{ profile }} /dataplane" " artifact/{{ target }} /{{ profile }} /dataplane"
453455 cp -r " ${CARGO_TARGET_DIR:-target}/{{ target }} /{{ profile }} /cli" " artifact/{{ target }} /{{ profile }} /dataplane-cli"
456+ cp -r " ${CARGO_TARGET_DIR:-target}/{{ target }} /{{ profile }} /dataplane-init" " artifact/{{ target }} /{{ profile }} /dataplane-init"
454457 declare build_date
455458 build_date=" $(date --utc --iso-8601=date --date="{{ _build_time }} " )"
456459 declare -r build_date
@@ -464,6 +467,7 @@ build-container-quick: (compile-env "cargo" "--locked" "build" ("--target=" + ta
464467 - -tag " ${TAG}" \
465468 - -build-arg ARTIFACT=" artifact/{{ target }} /{{ profile }} /dataplane" \
466469 - -build-arg ARTIFACT_CLI=" artifact/{{ target }} /{{ profile }} /dataplane-cli" \
470+ - -build-arg ARTIFACT_INIT=" artifact/{{ target }} /{{ profile }} /dataplane-init" \
467471 - -build-arg BASE=" {{ _debug_env_container }} " \
468472 .
469473
0 commit comments