Docker image to use Deployer (Deployment tool for PHP) without the need to have PHP on your host
213
Docker image to use Deployer (Deployment tool for PHP) without the need to have PHP on your host.
See Deployer.org
On GitHub : deployphp/deployer
# To run "dep"
$ docker run --rm -ti -v $PWD:/app omouren/docker-deployer:latest
# To run "dep init"
$ docker run --rm -ti -v $PWD:/app omouren/docker-deployer:latest init
# To run "dep deploy" with SSH Agent Forwarding
$ docker run --rm -ti -v $PWD:/app -v $(dirname $SSH_AUTH_SOCK):$(dirname $SSH_AUTH_SOCK) -e SSH_AUTH_SOCK=$SSH_AUTH_SOCK omouren/docker-deployer:latest deploy
Now just add an alias to use it more simply (in your ~/.bash_aliases for example)
alias dep="docker run --rm -ti -v $PWD:/app omouren/docker-deployer:latest"
# Or
alias dep="docker run --rm -ti -v $PWD:/app -v $(dirname $SSH_AUTH_SOCK):$(dirname $SSH_AUTH_SOCK) -e SSH_AUTH_SOCK=$SSH_AUTH_SOCK omouren/docker-deployer:latest"
Content type
Image
Digest
Size
28.7 MB
Last updated
over 8 years ago
docker pull omouren/docker-deployer