❗ This image is outdated. Please use the official composer image
This is a image to run composer with the hirak/prestissimo package.
Run the composer image:
docker run \
--rm \
--interactive \
--tty \
--volume "$(pwd)":/app \
finalgene/composer install
You can mount the Composer home directory from your host inside the Container to share caching and configuration files:
docker run \
--rm \
--interactive \
--tty \
--volume "$(pwd)":/app \
--volume ${COMPOSER_HOME}:/cache/.composer \
finalgene/composer install
By default, Composer runs as root inside the container. This can lead to permission issues on your host filesystem. You can run Composer as your local user:
docker run \
--rm \
--interactive \
--tty \
--volume "$(pwd)":/app \
--user $(id -u):$(id -g) \
finalgene/composer install
For further information have a look at the official composer image.
-
Where to get help: the Docker Community Forums, the Docker Community Slack, or Stack Overflow
-
Where to file issues: https://github.com/finalgene/docker-hub-composer/issues
-
Maintained by: The final gene Team
-
Source of this description: Repository README.md