PHP 7 container which includes git and composer
10K+
This repository is based off of php:7.0-cli and adds on git and composer commands.
You can use it to run composer commands. It has no ENTRYPOINT defined, and so you can run any command with it (e.g. php, git, composer).
Typical usage will be to install a new PHP project or add on dependencies:
# Head to where ever you save your apps
cd ~/Sites
# Create a new Laravel application
# in directory "~/Sites/my-app"
docker run --rm \
-v $(pwd):/opt \
-w /opt \
fideloper/composer:latest \
composer create-project laravel/laravel my-app
Content type
Image
Digest
Size
169.7 MB
Last updated
about 10 years ago
docker pull fideloper/composer