[TESTS] Speedup container startup
This commit is contained in:
parent
fe21796e79
commit
334de7c739
2
Makefile
2
Makefile
|
@ -37,7 +37,7 @@ database-force-schema-update:
|
||||||
docker exec -it $(call translate-container-name,$(strip $(DIR))_php_1) sh -c "/var/www/social/bin/console doctrine:schema:update --dump-sql --force"
|
docker exec -it $(call translate-container-name,$(strip $(DIR))_php_1) sh -c "/var/www/social/bin/console doctrine:schema:update --dump-sql --force"
|
||||||
|
|
||||||
tooling-docker: .PHONY
|
tooling-docker: .PHONY
|
||||||
@cd docker/tooling && docker-compose up -d --build > /dev/null 2>&1
|
@sh -c 'if [ ! docker container inspect $(call translate-container-name,tooling_php_1) > /dev/null 2>&1 ]; then cd docker/tooling && docker-compose up -d --build > /dev/null 2>&1; fi'
|
||||||
|
|
||||||
stop-tooling: .PHONY
|
stop-tooling: .PHONY
|
||||||
cd docker/tooling && docker-compose down
|
cd docker/tooling && docker-compose down
|
||||||
|
|
Loading…
Reference in New Issue
Block a user