Public | Automated Build

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

docker-composer

Used to create Docker images for running composer [https://getcomposer.org]

Usage

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

     $ docker pull denisura/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):/workspace denisura/composer'" >> ~/.bashrc
     $ source ~/.bashrc
    
  3. Run composer as always:

     $ composer init --require=foo/bar:1.0.0 -n
    
     $ composer self-update
    
     $ composer install -o
    
     $ composer require "foo/bar:1.0.0"
    
Docker Pull Command
Owner
denisura
Source Repository

Comments (0)