marmelab/docker-composer-hhvm — pull request #1 by jeremy-derusse (2014-09-12 20:50:32+00:00)
Title: Run command as host's user

Add a script in charge of creating dummy user user hosts uid and guid the run the command
As this script in the entrypoint of the docker file it should keep BC.

here is my composer alias
alias composer=docker run -ti --rm -e DOCKER_UID=`id -u` -e DOCKER_GID=`id -g` -e DOCKER_SSH=/tmp/ssh -v ~/.ssh:/tmp/ssh -v `pwd`:/srv -w /srv marmelab/composer-hhvm hhvm /usr/local/bin/composer

Who works without makefile