This repository contains dockerfiles for various php versions, together with apache, ssh and tools useful for debugging. They are not meant to be used for production hosting.
The docker container comes with 2 services, apache on 80 and ssh on 22. You will need to map your local installation to /var/www.
ssh : root:root
The container contains
- apache 2
- php with some extensions
- composer
- ssh
- git
- imagemagick
- 5.6
- 7.1
- 7.2
- 7.3
- 7.4
cd php
docker build -t factorial-io/drupal-docker:php-<version> -f Dockerfile.php-<version> .
cd ../php-xdebug
docker build -t factorial-io/drupal-docker:php-<version>-xdebug -f Dockerfile.php-<version> .
cd ../php-wkhtmltopdf
docker build -t factorial-io/drupal-docker:php-<version>-wkhtmltopdf -f Dockerfile.php-<version> .