A small Docker image for composer, a dependency management tool for PHP.
This repository generates an image for each composer version, php version and combination thereof
The available composer versions are:
The available php versions are:
Combination images are in the format:
~$ docker run --rm -it \ -v $(pwd):/usr/src/app \ -v ~/.composer:/home/composer/.composer \ -v ~/.ssh/id_rsa:/home/composer/.ssh/id_rsa:ro \ graze/composer
The Docker Hub image (graze/composer) is an automated build that's also rebuilt daily to pickup any composer updates.
You can build an individual image with:
~$ PHP_VER=7.1 COMPOSER_VER=1.4.1 make build
or build and test all images with:
~$ make all-build all-test