项目作者: painless-software

项目描述 :
PHP Composer for development with Docker Compose
高级语言: Dockerfile
项目地址: git://github.com/painless-software/docker-composer.git
创建时间: 2017-07-07T18:40:22Z
项目社区:https://github.com/painless-software/docker-composer

开源协议:MIT License

下载


Composer

dockeri.co

MIT License GitHub issues GitHub PRs

PHP Composer

Convenience wrapper around the well-known dependency manager, for local development with Docker Compose and PHP. Extends the official PHP composer image with a customizable entrypoint to run composer tasks.

Supported Tags

  • latest image layers image size (Composer base image with adapted entrypoint)

Usage

Add a pseudo-service to your Docker Compose configuration, e.g.

  1. composer:
  2. image: painless/composer
  3. volumes:
  4. - .:/var/www/html

then run

  1. docker-compose run composer <command>

to let Composer modify the project files on your Docker volume.

See docker-compose.override.yml in the Painless Continuous Delivery cookiecutter for an example.

Development