Skip to content

initlabopen/docker-composer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

docker-composer

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

Usage

  1. Install the initlab/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 initlab/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"

About

Used to create Docker images for running composer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published