dkbuild: ajout de --plain

This commit is contained in:
Jephté Clain 2023-12-25 23:06:55 +04:00
parent ad14de35ea
commit b818e11c73
1 changed files with 6 additions and 1 deletions

View File

@ -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
)