Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

docker-composer

A simple Docker image and Dockerfile to run composer through HHVM

Simple command


docker run -ti --rm=true \
        -v `pwd`:/srv \
        -v $(LOCAL_DIR):$(HOMEDIR)/.composer \
        marmelab/composer-hhvm bash -ci '\
            composer install --no-interaction --prefer-dist'

Docker compose example


composer:
    image: zolweb/docker-composer
    working_dir: /src
    volumes:
        - /var/tmp/composer:/root/.composer
        - ".:/src"
    net: "host"

For non root user inside container


composer:
    image: zolweb/docker-composer:no-root
   ...
Docker Pull Command
Owner
zolweb
Source Repository

Comments (0)