Sign inSign up

minkbear/php-deployer

By minkbear

•Updated over 3 years ago

my own version of php deployer

Image
3

10K+

minkbear/php-deployer repository overview

⁠Docker image for deployment with deployer

This image is mainly used for deployments with the PHP tool Deployer⁠ using Gitlab.

It includes php, rsync and ssh. The deployer script ist globally available with the command dep

The Gitlab documentation⁠ explains how to use SSH keys using the Docker executor.

This image provides some shortcuts: bash, ssh and rsync are already installed. The ssh-agent is already running. The script ssh-deactivate-key-checking provides a simple way to deactivate StrictHostKeyChecking for SSH.

Example usage in .gitlab-ci.yml:

  script:
    - "ssh-add <(echo \"$SSH_PRIVATE_KEY\")"
    - ssh-deactivate-key-checking
    - dep deploy production

⁠Available Docker image versions

TagDeployer VersionPHP Version
latest6.8.08.1
66.8.08.1
77.1.38.2
7.07.0.28.1

Tag summary

Content type

Image

Digest

Size

42.4 MB

Last updated

over 4 years ago

docker pull minkbear/php-deployer