Skip to content

A simple container to run composer through HHVM

Notifications You must be signed in to change notification settings

zolweb/docker-composer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

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
   ...

About

A simple container to run composer through HHVM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published