Public | Automated Build

Last pushed: a month ago
Short Description
Our standard development linux distribution
Full Description

Linux Docker Image

A standard CentOS image tuned for developing in Drupal 6, 7, 8, PHP 5.2, PHP 7.1, MariaDB (MySQL) and Perl. Can be used for production or development environments.

Only tools are provided on here and no software by default. Drupal can be installed as well as contributed modules by using the environment variables specified later in this document. Composer, Drush and Drupal Console are included within the container for convenience. It is recommended all be used within the container for the best results. Be sure to mount any needed file paths as volumes to ensure persistence.

PHP 5.2/Drupal 6 Notes

Note that PHP 5.2 is only available on the d6 tag of this repository. It runs and is configured identically to the master branch (without the installation environment variables) in terms of file locations for DocumentRoot.

Apache Settings & Configurations:

DocumentRoot: /var/www/html/web
Volume Mount Point: /var/www

phpMyAdmin URL

http://www.example.com/mysql-admin

TODO:

  • Configurable options for SSL certificates.

Last Updated: March 11, 2018

Environment Variables

DRUPAL_CONRTIB_MODULES
A list of contributed modules to install alongside Drupal. These should be listed consecutively the same way you would list them in a composer require statement.

DRUPAL_VERSION
The version of Drupal to install. Currently supports 8.x-dev and 7.x-dev. Keep in mind this container uses PHP 7.1, so your mileage may vary with Drupal 7.

HTACCESS_DESCRIPTION
THe web site description to appear in the htaccess username/password box. This is what determines if this option is enabled. A value here enables the htaccess authentication system in Apache. Omission leaves it disabled.

HTACCESS_PASSWORD
The password for the user configured in the htaccess dialog.

HTACCESS_USERNAME
The username to be configured in the htaccess dialog.

PHP_DISPLAY_ERRORS
Deafult Value: Off
This directive controls whether or not and where PHP will output errors, notices and warnings.

PHP_DISPLAY_STARTUP_ERRORS
Deafult Value: Off
The display of errors which occur during PHP's startup sequence are handled separately from display_errors.

PHP_MAX_EXECUTION_TIME
Default Value: 300
Maximum execution time of each script, in seconds. A value of 0 disables the limit.

PHP_MAX_INPUT_TIME
Default Value: 300
Maximum amount of time each script may spend parsing request data. A value of -1 disables the limit.

PHP_MAX_INPUT_VARS
Default Value: 1000
How many GET/POST/COOKIE input variables may be accepted.

PHP_MEMORY_LIMIT
Default Value: 386M
Maximum amount of memory a script may consume.

PHP_POST_MAX_SIZE
Default Value: 256M
Maximum size of POST data that PHP will accept. A value of 0 disables the limit.

PHP_UPLOAD_MAX_FILESIZE
Default Value: 256M
Maximum allowed size for uploaded files.

Docker Pull Command
Owner
mbagnall
Source Repository