Skip to content

CLI-based images for interacting with Drupal 8 sites

License

Notifications You must be signed in to change notification settings

forumone/docker-drupal8-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About this Image

Images built from this repository are used as bases for working with Drupal 8 sites via the command line. They are roughly equivalent to images such as drush/drush, and intended to be used as companion images to forumone/drupal8.

  1. Neither Drush nor Drupal Console are included. It is expected that users will either install or bind-mount the necessary scripts to use.

    • Instead of including Drush, the directory /var/www/html/vendor/bin has been added to $PATH to allow easier access to installed dependencies.
  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
    • 7.4
  • End-of-life for legacy projects:

    • 7.3
    • 7.2

The tags 7 and 8 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.