dk: support de --no-cache pour docker-compose build
This commit is contained in:
parent
9c6f606daa
commit
dcb637e054
4
dk
4
dk
|
@ -111,7 +111,9 @@ function update_build_env() { default_update_build_env; }
|
||||||
function default_compose_build() {
|
function default_compose_build() {
|
||||||
docker-compose \
|
docker-compose \
|
||||||
"${replace_env_args[@]}" "${env_args[@]}" \
|
"${replace_env_args[@]}" "${env_args[@]}" \
|
||||||
build "${replace_build_args[@]}" "${build_args[@]}" \
|
build \
|
||||||
|
${NO_CACHE:+--no-cache} \
|
||||||
|
"${replace_build_args[@]}" "${build_args[@]}" \
|
||||||
"$@"
|
"$@"
|
||||||
}
|
}
|
||||||
function default_docker_build() {
|
function default_docker_build() {
|
||||||
|
|
Loading…
Reference in New Issue