Sign inSign up

painless/composer

By painless

•Updated almost 6 years ago

PHP Composer for development with Docker Compose

Image
1

2.5K

painless/composer repository overview

⁠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.

  composer:
    image: painless/composer
    volumes:
      - .:/var/www/html

then run

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

Tag summary

Content type

Image

Digest

Size

60.7 MB

Last updated

almost 6 years ago

docker pull painless/composer