Git Product home page Git Product logo

docker-composer's Introduction

Composer Docker Container

Docker container to install and run Composer.

Features

Installation / Usage

  1. Install the composer/composer container:

    $ docker pull composer/composer

Alternatively, pull a specific version of composer/composer: sh $ docker pull composer/composer:1.0.0-alpha10

  1. 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"
        }
    }
  2. Run Composer through the Composer container:

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

Or run using a specific version of Composer: sh $ docker run -v $(pwd):/app composer/composer:1.0.0-alpha10 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 https://github.com/RobLoach/composer-docker.git
  2. Switch to the composer-docker directory:

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

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

    $ docker run composer/composer help

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.