drupal-php icon indicating copy to clipboard operation
drupal-php copied to clipboard

PHP docker container image for Drupal

PHP (FPM) for Drupal Docker Container Image

Build Status Docker Pulls Docker Stars

Docker Images

❗For better reliability we release images with stability tags (wodby/drupal-php:8.0-X.X.X) which correspond to git tags. We strongly recommend using images only with stability tags.

Overview:

Supported tags and respective Dockerfile links:

See wodby/php for the exact PHP version

All images built for linux/amd64 and linux/arm64

Tools

Tool 8.1 8.0 7.4
Drupal Console Launcher 1.9.7 1.9.7 1.9.7
Drush latest latest 8.x
Drush Launcher 0.10.1 0.10.1 0.10.1
Drush Patchfile latest latest latest
Drush Registry Rebuild 7.x 7.x 7.x

Environment Variables

Variable Default Value Description
DRUPAL_REVERSE_PROXY_ADDRESSES
PHP_OUTPUT_BUFFERING 16384
PHP_REALPATH_CACHE_TTL 3600

See wodby/php for all variables

Orchestration Actions

Usage:

make COMMAND [params ...]
 
commands:
    git-checkout target [ is_hash]
    drush-import source
    init-drupal   
    cache-clear target
    cache-rebuild
    drush8-alias
    drush9-alias
    user-login
    
default params values:
    target all
    is_hash 0 

See wodby/php for all actions

Complete Drupal Stack

See wodby/docker4drupal