Apache and PHP, with PHP Composer and Drush install for running a Drupal website.
91
An Apache and PHP installation targeted to run a Drupal website with Drush.
The website DOCROOT is located at /var/www/localhost/web and so the Drupal root should be place here. For security, place files like private files and keys outside of this DOCROOT (like /var/www/localhost).
To use Drush or SSH, you'll want to run the command /root/build.sh sshd this will setup the SSH server keys and configure the supervisor daemon to start the SSHD service. This is excluded from the image, so that random keys are generated for you install, instead of being built into the Docker image.
If you enable SSH, you can add a volume that places your public SSH keys into the /root/.ssh folder. All public keys in this folder will be added to the /root/.ssh/authorized_keys file on image startup.
Versions tagged with dev include display_error, xdebug and assert_exception settings turned on.
Content type
Image
Digest
Size
35 MB
Last updated
over 9 years ago
docker pull tinkersmith/drupal-drush:php7-alpine-dev