An example of workflow I am interested in:
- Someone appears with a doubt and some code I can run, it doesn't have Docker;
- I clone the repository and start a container for it:
$ docker run -di --name www-php -v "${PWD}:/var/www" -w "/var/wwww" -p 8080:80 php:7.2-apache
- Now a bunch of dependencies are installed, amounting to a
history like:
$ docker exec -it www-php bash
$ pecl install xdebug-2.6.0
$ docker-php-ext-enable xdebug
$ php bin/setup.php
The idea would be to use ship instead of docker run, enabling us to create a Dockerfile while we discover what is needed.
An example of workflow I am interested in:
historylike:The idea would be to use
shipinstead ofdocker run, enabling us to create aDockerfilewhile we discover what is needed.