Public | Automated Build

Last pushed: 2 years ago
Short Description
Docker container to install and run Composer.
Full Description

Composer Docker Container

Docker container to install and run Composer.


Installation / Usage

  1. Install the skyscrapers/composer container:

     $ docker pull skyscrapers/composer

    Alternatively, pull a specific version of skyscrapers/composer:

     $ docker pull skyscrapers/composer:latest
  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

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

     $ docker run -v $(pwd):/data/www skyscrapers/composer install

Installation from Source

To run, test and develop the Composer Dockerfile itself, you must use the
source directly:

  1. Download the source:

     $ git clone
  2. Switch to the docker-composer directory:

     $ cd docker-composer
  3. Build the container, using Composer's latest master release:

     $ docker build -t skyscrapers/composer master
  4. Test running Composer through the container:

     $ docker run skyscrapers/composer help
Docker Pull Command
Source Repository