PHP-CLI-Drupal

The Lagoon 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
  • drupal console
  • drush launcher (which will fallback to Drush 8 if there is no site installed Drush found)

Lagoon & OpenShift adaptions

This image is prepared to be used on Lagoon, which leverages OpenShift. There are therefore some things already done:

  • Folder permissions are automatically adapted with fix-permissions, so this image will work with a random user, and therefore also on OpenShift.