From e7745c2dd4c21b6057694e680c4c29edbfb64e11 Mon Sep 17 00:00:00 2001 From: Jephte Clain Date: Tue, 19 Mar 2024 07:26:06 +0400 Subject: [PATCH] dk: support --plain-output --- dk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dk b/dk index 781dc9b..d158eee 100755 --- a/dk +++ b/dk @@ -336,6 +336,8 @@ OPTIONS build deploy, by, bpy et update impliquent --stack -j, --no-cache Ne pas utiliser le cache lors du build + --plain-output + Afficher la sortie complète des containers lors du build -U, --pull Essayer de récupérer une version plus récente de l'image source -g, --ug, --no-update-apps @@ -1245,6 +1247,7 @@ function default_compose_build() { "${replace_env_args[@]}" "${env_args[@]}" \ build \ ${NO_CACHE:+--no-cache} \ + ${PROGRESS:+--progress "$PROGRESS"} \ ${PULL:+--pull} \ "${replace_build_args[@]}" "${build_args[@]}" \ "$@" @@ -1256,6 +1259,7 @@ function default_docker_build() { done ${FAKE:+qvals} "$DOCKER" build \ ${NO_CACHE:+--no-cache} \ + ${PROGRESS:+--progress "$PROGRESS"} \ ${PULL:+--pull} \ "${replace_env_args[@]}" "${env_args[@]}" \ "${replace_build_args[@]}" "${build_args[@]}" \ @@ -1305,6 +1309,7 @@ function auto_build() { done ${FAKE:+qvals} "$DOCKER" build \ ${NO_CACHE:+--no-cache} \ + ${PROGRESS:+--progress "$PROGRESS"} \ ${PULL:+--pull} \ "${replace_build_args[@]}" "$@" fi @@ -2499,6 +2504,7 @@ FAKE= VARS=() FORCE= NO_CACHE= +PROGRESS= PULL= HOST= WITH_REGISTRY_AUTH=1 @@ -2522,6 +2528,7 @@ args=( -e:,--build-arg:,--env: VARS -f,--force FORCE=1 -j,--no-cache NO_CACHE=1 + --plain-output PROGRESS=plain -U,--pull PULL=1 -h:,--host: HOST= -g,--ug,--no-update-apps update_apps_mode=b