$ git clone https://github.com/Antoine87/minimal-php-ext-symfony.git
$ cd minimal-php-ext-symfony
$ docker build -t minimal-php-ext-symfony
Run an interactive shell from the image and create the skeleton project:
$ docker run -it -p 8000:8000 minimal-php-ext-symfony
$ composer create-project symfony/skeleton --ignore-platform-reqs
Start the server
$ php -S 0.0.0.0:8000 -t skeleton/public/