php-cli-drupal Docker image is optimized to work with Drupal. It is based on the Lagoon
php-cli image, and has all the command line tools needed for the daily maintenance of a Drupal website:
drush launcher(which will fallback to Drush 8 if there is no site installed Drush found)
- 7.3 (available for compatibility only, no longer officially supported)
- 7.4 Dockerfile -
- 8.0 Dockerfile -
- 8.1 Dockerfile -
All PHP versions use their own Dockerfiles.
This image is prepared to be used on Lagoon. There are therefore some things already done:
- Folder permissions are automatically adapted with
fix-permissions, so this image will work with a random user.