dkbuild: ajout de --plain
This commit is contained in:
parent
ad14de35ea
commit
b818e11c73
7
dkbuild
7
dkbuild
@ -144,6 +144,8 @@ $scriptname build [OPTIONS] [BUILDVARS...]
|
|||||||
Construire les images
|
Construire les images
|
||||||
--no-cache
|
--no-cache
|
||||||
Ne pas utiliser le cache lors du build
|
Ne pas utiliser le cache lors du build
|
||||||
|
--plain-output
|
||||||
|
Afficher la sortie complète des containers lors du build
|
||||||
-U, --pull-image
|
-U, --pull-image
|
||||||
Essayer de récupérer une version plus récente de l'image source
|
Essayer de récupérer une version plus récente de l'image source
|
||||||
-p, --push-image
|
-p, --push-image
|
||||||
@ -2057,6 +2059,7 @@ function define_functions_cmd() {
|
|||||||
local avar
|
local avar
|
||||||
local -a args; args=(
|
local -a args; args=(
|
||||||
${no_cache:+--no-cache}
|
${no_cache:+--no-cache}
|
||||||
|
${progress:+--progress "$progress"}
|
||||||
${pull:+--pull}
|
${pull:+--pull}
|
||||||
)
|
)
|
||||||
eval "host_mappings=($host_mappings)"
|
eval "host_mappings=($host_mappings)"
|
||||||
@ -2140,6 +2143,7 @@ function define_functions_cmd() {
|
|||||||
local avar evar; local -a bargs
|
local avar evar; local -a bargs
|
||||||
bargs=(
|
bargs=(
|
||||||
${no_cache:+--no-cache}
|
${no_cache:+--no-cache}
|
||||||
|
${progress:+--progress "$progress"}
|
||||||
${pull:+--pull}
|
${pull:+--pull}
|
||||||
)
|
)
|
||||||
for avar in "${!ARGS[@]}"; do
|
for avar in "${!ARGS[@]}"; do
|
||||||
@ -2847,7 +2851,7 @@ function build_action() {
|
|||||||
local machine
|
local machine
|
||||||
local clean_update clean_opt=-X
|
local clean_update clean_opt=-X
|
||||||
local clone_src_only update_src_only update_src sync_src
|
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 push_image
|
||||||
local -a args; args=(
|
local -a args; args=(
|
||||||
"${SHARED_ARGS1[@]}" "${SHARED_ARGS2[@]}"
|
"${SHARED_ARGS1[@]}" "${SHARED_ARGS2[@]}"
|
||||||
@ -2864,6 +2868,7 @@ function build_action() {
|
|||||||
--no-sync-src sync_src=no
|
--no-sync-src sync_src=no
|
||||||
-b,--build build=1
|
-b,--build build=1
|
||||||
--no-cache no_cache=1
|
--no-cache no_cache=1
|
||||||
|
--plain-output progress=plain
|
||||||
-U,--pull-image pull_image=1
|
-U,--pull-image pull_image=1
|
||||||
-p,--push-image push_image=1
|
-p,--push-image push_image=1
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user