From 9c96f85242290953363672dfa0514c83f2442c25 Mon Sep 17 00:00:00 2001 From: Luigi Freitas Cruz Date: Sat, 22 Feb 2020 05:00:17 -0300 Subject: [PATCH] No cache build. --- builder/build-docker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/build-docker.sh b/builder/build-docker.sh index 8464060..20407b6 100755 --- a/builder/build-docker.sh +++ b/builder/build-docker.sh @@ -73,7 +73,7 @@ fi # Modify original build-options to allow config file to be mounted in the docker container BUILD_OPTS="$(echo "${BUILD_OPTS:-}" | sed -E 's@\-c\s?([^ ]+)@-c /config@')" -${DOCKER} build --network=host -t pi-gen "${DIR}" +${DOCKER} build --no-cache --network=host -t pi-gen "${DIR}" if [ "${CONTAINER_EXISTS}" != "" ]; then trap 'echo "got CTRL+C... please wait 5s" && ${DOCKER} stop -t 5 ${CONTAINER_NAME}_cont' SIGINT SIGTERM time ${DOCKER} run --rm --privileged \