Sign inSign up

factorial/drupal-docker

By factorial

•Updated 4 months ago

dockerfile for drupal

Image
2

50K+

factorial/drupal-docker repository overview

⁠Dockerfiles for drupal

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⁠.

⁠Logins / Passwords

ssh    : root:root

The container contains

  • apache 2
  • php with some extensions
  • composer
  • ssh
  • git
  • imagemagick

⁠Available php versions:

  • 5.6
  • 7.1
  • 7.2
  • 7.3
  • 7.4
  • 8.0

⁠Building the docker container:

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> .

Tag summary

Content type

Image

Digest

sha256:1745c9e6a…

Size

555.5 MB

Last updated

4 months ago

docker pull factorial/drupal-docker:php-83-node-24