+add makefile 'make start-no-cache' to rebuild images without caching anything
This commit is contained in:
parent
1cce778d60
commit
2b94f97549
8
Makefile
8
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);
|
||||
|
|
Loading…
Reference in New Issue