Commit 2fe2f270 authored by Ansgar Burchardt's avatar Ansgar Burchardt

add DUNECI_DOCKER_CACHE variable to disable Docker's cache

This is useful for the weekly automatic rebuild of the images.  These
should always rebuild the images so updated packages from Debian get
included.
parent 36ca004c
......@@ -19,6 +19,10 @@ for var in ftp_proxy FTP_PROXY http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_
fi
done
if [[ "${DUNECI_DOCKER_CACHE:-1}" = 0 ]]; then
docker_opts+=(--no-cache)
fi
if [[ $# -lt 2 ]]; then
usage
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment