From 371d138bb8f2e4216b187f1caa61e5fd4198bd0c Mon Sep 17 00:00:00 2001 From: Stephane Gourichon Date: Sun, 24 Mar 2024 17:11:16 +0100 Subject: [PATCH] Will rebuild images ignoring cache. --- tools/containers_check_update_rebuild_switch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/containers_check_update_rebuild_switch.sh b/tools/containers_check_update_rebuild_switch.sh index eccf936..3659e92 100755 --- a/tools/containers_check_update_rebuild_switch.sh +++ b/tools/containers_check_update_rebuild_switch.sh @@ -28,7 +28,7 @@ do NAME_OF_CONTAINER="$( docker inspect --format='{{ .Name }}' $CONTAINER_ID )" cd $PATH_OF_CONTAINER docker-compose pull || { fail_one "pull" ; continue ; } - docker-compose build || { fail_one "build" ; continue ; } + docker-compose build --no-cache || { fail_one "build" ; continue ; } docker-compose up -d || { fail_one "switch to newly built container" ; continue ; } done