composer create-project --ignore-platform-reqs tseho/symfony-cli-skeleton [directory]
Build the docker image:
DOCKER_IMAGE_NAME=foo DOCKER_IMAGE_VERSION=latest make docker-image
Launch a symfony command with it:
docker run --rm $DOCKER_IMAGE_NAME:$DOCKER_IMAGE_VERSION bin/console [cmd]
Build the development environment:
make build
How to execute a symfony command:
docker-compose run --rm php bin/console [cmd]
How to execute a composer command:
docker-compose run --rm composer [cmd]
How to launch the tests:
make tests