dk: support de --no-cache pour docker-compose build

This commit is contained in:
Jephté Clain 2018-11-16 21:22:05 +04:00
parent 9c6f606daa
commit dcb637e054
1 changed files with 3 additions and 1 deletions

4
dk
View File

@ -111,7 +111,9 @@ function update_build_env() { default_update_build_env; }
function default_compose_build() {
docker-compose \
"${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() {