Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

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.

Docker Pull Command
Owner
pseiffert
Source Repository

Comments (0)