Based on php latest 7 CLI Alpine and composer version 2.
The relevant image will be built on docker hub.
Provides a slim image with php cli and the deployer PHP tool.
Deployer PHP with its recipes, RSync, Git, Open SSH tools and Composer 2
- composer
- curl
- dep
- rsync
- git
- ssh-*
The documentation for deployer be found here.
Entrypoint is the dep
tool.
docker run -it debreczeniandras/deployerphp --version
docker run -it debreczeniandras/deployerphp deploy
In Gitlab CI override the default entrypoint, to get a shell.
deploy:staging:
image:
name: debreczeniandras/deployerphp:6
entrypoint: [""]
script:
- dep deploy staging -v
only:
- master