Skip to content

forumone/docker-drupal8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About this Image

Images built from this repository are used as bases for serving Drupal 8 websites. They differ from the Docker Hub's drupal image in two ways:

  1. These images do not include a copy of the Drupal 8 sources. We expect users of this image to add Drupal via Composer in a build step (or via a bind-mount during local development).

  2. These images include a small utility, f1-ext-install, to simplify the task of installing common extensions. For example, to install Memcached, one only needs to add this to their Dockerfile:

     # Install the core SOAP extension
     f1-ext-install builtin:soap
    
     # Install memcached from PECL
     f1-ext-install pecl:memcached

PHP Versions and Tags

  • Currently supported by PHP:

    • 8.0, 8.0-xdebug
    • 7.4, 7.4-xdebug
  • End-of-life for legacy projects:

    • 7.2, 7.2-xdebug
    • 7.3, 7.3-xdebug

Images tagged with -xdebug contain XDebug installed but disabled; at runtime use docker-php-ext-enable xdebug to enable.

The tags 7, 7-xdebug, 8, and 8-xdebug are available for quick testing when a specific version isn't needed.

License

Like the base PHP image we use, this project is available under the terms of the MIT license. See LICENSE for more details.