From 5a5f0e9c933baeaac2a2e58a55b779766a45104a Mon Sep 17 00:00:00 2001 From: Jephte Clain Date: Fri, 19 Jul 2024 19:41:26 +0400 Subject: [PATCH] =?UTF-8?q?build=20-r=20ne=20rebuild=20rundk=20que=20si=20?= =?UTF-8?q?c'est=20n=C3=A9cessaire?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- support/build | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/support/build b/support/build index 1fa432e..cd02c6a 100755 --- a/support/build +++ b/support/build @@ -115,7 +115,7 @@ function build_images() { rundk) [ ${#Configs[*]} -gt 0 ] && export RUNDK_FORCE_BUILDENVS="${Configs[*]}" local -a args=(--bootstrap) - [ -z "$ForceBuild" ] && args+=(--unless-exists) + [ "$ForceBuild" != all ] && args+=(--unless-exists) [ -n "$Pull" ] && args+=(--pull) [ -n "$NoCache" ] && args+=(--no-cache) "$MYDIR/rundk" "${args[@]}" || die @@ -149,7 +149,8 @@ args=( #"usage" --check-only action=none "++Ne faire que la vérification de l'environnement" -c:,--config:BUILDENV Configs "Spécifier un fichier d'environnement pour le build" - -r,--rebuild ForceBuild=1 "Forcer la (re)construction de l'image" + -r,--rebuild ForceBuild=1 "Forcer la (re)construction des images" + -R,--rebuild-all ForceBuild=all "++Comme --rebuild, mais reconstruire aussi rundk" -U,--pull Pull=1 "++Forcer le re-téléchargement des images dépendantes" -j,--no-cache NoCache=1 "++Construire l'image en invalidant le cache" -D,--plain-output PlainOutput=1 "++Afficher le détail du build"