This repository holds the information required to build a Docker container that runs Composer.
Install the pseiffert/composer container (optional - this step is performed by Docker automatically when running the container):
$ docker pull pseiffert/composer
Define an bash alias that runs this container whenever composer is invoked on the command line:
$ echo "alias composer='docker run --rm -it -v $(pwd):/opt/workspace pseiffert/composer'" >> ~/.bashrc
$ source ~/.bashrc
Run composer as always:
$ composer install
For more information, see my article on medium.com about this.
Content type
Image
Digest
sha256:d8ff3aad6…
Size
124.1 MB
Last updated
almost 11 years ago
docker pull pseiffert/composer