Docker image based on PHP CLI Alpine and adds Composer, Git, Unzip, Zip.
310
Docker image based on php:7.1-cli-alpineand adds Composer, Git, Unzip, Zip.
Go to directory of project and run this command
docker run --rm \
-v $(pwd):/tmp \
-w /tmp \
-u $(id -u):$(id -g) \
ferri/php-composer \
composer install
You can replace $(pwd) with your actual path directory if you are not in the current working directory.
If you don't mind running composer with root user, then you can remove -u $(id -u):$(id -g).
Content type
Image
Digest
Size
34.2 MB
Last updated
almost 9 years ago
docker pull ferri/php-composer