Changing the composer/composer image by the official image much lighter and updated

Minor update of commands related to Composer
This commit is contained in:
Vincent Letourneau
2017-08-03 13:33:57 +02:00
parent e479945f53
commit 80fd60aea2
3 changed files with 5 additions and 5 deletions

View File

@@ -26,7 +26,7 @@ init:
@$(shell cp -n $(shell pwd)/web/app/composer.json.dist $(shell pwd)/web/app/composer.json 2> /dev/null)
apidoc:
@docker exec $(shell docker-compose ps -q php) app/vendor/apigen/apigen/bin/apigen generate -s app/src -d app/doc
@docker exec $(shell docker-compose ps -q php) app/vendor/bin/apigen generate app/src --destination app/doc
@make resetOwner
clean:
@@ -43,7 +43,7 @@ code-sniff:
@docker exec $(shell docker-compose ps -q php) app/vendor/bin/phpcs --standard=PSR2 app/src
composer-up:
@docker run --rm -v $(shell pwd)/web/app:/app composer/composer update
@docker run --rm -v $(shell pwd)/web/app:/app composer update
docker-start: init
@echo "Docker is running..."