diff --git a/dkbuild b/dkbuild index 1651d8c..d434b00 100755 --- a/dkbuild +++ b/dkbuild @@ -144,6 +144,8 @@ $scriptname build [OPTIONS] [BUILDVARS...] Construire les images --no-cache Ne pas utiliser le cache lors du build + --plain-output + Afficher la sortie complète des containers lors du build -U, --pull-image Essayer de récupérer une version plus récente de l'image source -p, --push-image @@ -2057,6 +2059,7 @@ function define_functions_cmd() { local avar local -a args; args=( ${no_cache:+--no-cache} + ${progress:+--progress "$progress"} ${pull:+--pull} ) eval "host_mappings=($host_mappings)" @@ -2140,6 +2143,7 @@ function define_functions_cmd() { local avar evar; local -a bargs bargs=( ${no_cache:+--no-cache} + ${progress:+--progress "$progress"} ${pull:+--pull} ) for avar in "${!ARGS[@]}"; do @@ -2847,7 +2851,7 @@ function build_action() { local machine local clean_update clean_opt=-X local clone_src_only update_src_only update_src sync_src - local build no_cache pull_image + local build no_cache progress pull_image local push_image local -a args; args=( "${SHARED_ARGS1[@]}" "${SHARED_ARGS2[@]}" @@ -2864,6 +2868,7 @@ function build_action() { --no-sync-src sync_src=no -b,--build build=1 --no-cache no_cache=1 + --plain-output progress=plain -U,--pull-image pull_image=1 -p,--push-image push_image=1 )