Sign inSign up

pseiffert/composer

By pseiffert

•Updated almost 11 years ago

Image
0

1.0K

pseiffert/composer repository overview

⁠Composer Docker-Container

This repository holds the information required to build a Docker⁠ container that runs Composer⁠.

⁠Usage

  1. Install the pseiffert/composer container (optional - this step is performed by Docker automatically when running the container):

    $ docker pull pseiffert/composer
    
  2. 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
    
  3. Run composer as always:

    $ composer install
    

For more information, see my article on medium.com⁠ about this.

Tag summary

Content type

Image

Digest

sha256:d8ff3aad6…

Size

124.1 MB

Last updated

almost 11 years ago

docker pull pseiffert/composer