CraftCMS Docker container with git client setup (support for ssh keys via environment)
608
CraftCMS Docker container with nginx and PHP 8.0. Image is based on the official CraftCMS docker image: https://github.com/craftcms/docker/tree/main/nginx with modifications:
amd64 & arm64
The included git client is thought for deployment purposes. You can mount your git deployment key (private ssh key for deployment) to /etc/keyfiles/deploy-key and git will automatically use it.
For example to mount the private key with Kubernetes you could use something like:
volumes:
- name: deploy-key-volume
secret:
secretName: deploy-keys
defaultMode: 256
in your deployment yaml file and:
secretGenerator:
- name: deploy-keys
files:
- ./deploy-key
in you kustomization yaml (with the file deploy-key containing your private ssh deployment key).
Content type
Image
Digest
sha256:fc6b97265…
Size
299.8 MB
Last updated
about 2 years ago
docker pull omaerz/craftcms-nginx-php8:1.1