Public Repository

Last pushed: 3 months ago
Short Description
Composer: Dependency Manager for PHP
Full Description

Composer Docker Container

Docker container to install and run Composer.

Features

Installation / Usage

  1. Install the minebrand/composer container:

     $ docker pull minebrand/composer
    

    Alternatively, pull a specific version of composer/composer:

     $ docker pull minebrand/composer:1.0.0-alpha11
    
  2. Create a composer.json defining your dependencies. Note that this example is
    a short version for applications that are not meant to be published as packages
    themselves. To create libraries/packages please read the
    documentation.

     {
         "require": {
             "monolog/monolog": ">=1.0.0"
         }
     }
    
  3. Run Composer through the Composer container:

     $ docker run -v $(pwd):/app minebrand/composer install
    

    Or run using a specific version of Composer:

     $ docker run -v $(pwd):/app minebrand/composer:1.0.0-alpha10 install
    
Docker Pull Command
Owner
minebrand

Comments (0)