+add makefile 'make start-no-cache' to rebuild images without caching anything

This commit is contained in:
xdrm-brackets 2018-02-18 18:41:16 +01:00
parent 1cce778d60
commit 2b94f97549
1 changed files with 8 additions and 0 deletions

View File

@ -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);