/composer

PHP Composer for Docker Dev Environments

Primary LanguageShellMIT LicenseMIT

composer

Improoved version of Official Composer Image with the following add-ons

  • Support for local cache (speed up 10x your development environment)

Usage

Standalone usage, copy and paste the following command to install your dependencies avoiding download packages at each run

docker run --rm -it -v /tmp -v $PWD:/app javanile/composer install

with Docker Compose, copy and paste the following service if you use the docker compose file as task or job runnner

version: "3"

services:
  composer:
    image: javanile/composer
    volumes:
      - ./:/app/
      - /tmp/:/tmp/

License

MIT © Francesco Bianco.