Alpine Linux docker image with the Symfony installer set up with "symfony" as entrypoint.

$ docker run --rm -it -v $(pwd):/data jimlei/alpine-symfony new my_project_name

Alias

Add to ~/.bashrc

alias symfony='docker run --rm -it -v $(pwd):/data jimlei/alpine-symfony'

Load the changes

$ source ~/.bashrc

Usage

$ symfony new my_project_name