finalgene/composer

Sponsored OSS

By finalgene

Updated about 5 years ago

Composer for CI

Image
Languages & frameworks
Integration & delivery
3

5.2K

finalgene/composer repository overview

Composer

CircleCI Codacy Badge

:exclamation: This image is outdated. Please use the official composer image

This is a image to run composer with the hirak/prestissimo package.

How to use this image

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.

Quick reference

Tag summary

Content type

Image

Digest

Size

59.3 MB

Last updated

about 5 years ago

docker pull finalgene/composer

This week's pulls

Pulls:

156

Last week