From 2b94f97549c2a6ec27e217a49b39c9c2b866584f Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Sun, 18 Feb 2018 18:41:16 +0100 Subject: [PATCH] +add makefile 'make start-no-cache' to rebuild images without caching anything --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Makefile b/Makefile index 4020b18..f7f343c 100644 --- a/Makefile +++ b/Makefile @@ -6,6 +6,14 @@ start: @echo -n "> 3. Execute post-start script........."; @bash ./metactl/post-start.sh && echo "done" || (echo "failed"; exit 1); +start-no-cache: + @echo -n "> 1. Execute pre-start script.........."; + @bash ./metactl/pre-start.sh && echo "done" || (echo "failed"; exit 1); + @echo -n "> 2. Build & launch environment........"; + @docker-compose up --force-recreate --build -d > /dev/null 2>&1 && echo "done" || (echo "failed"; exit 1); + @echo -n "> 3. Execute post-start script........."; + @bash ./metactl/post-start.sh && echo "done" || (echo "failed"; exit 1); + stop: @echo -n "> 1. Execute pre-stop script..........."; @bash ./metactl/pre-stop.sh && echo "done" || (echo "failed"; exit 1);