Docker Community Forums

Share and learn in the Docker community.

Automatic Drupal 7 installation

Hi all,

I am looking to build an image which automatically downloads and installs Drupal 7, including using a SQL file with content… The main characteristics of that image are the following :
- MySQL : 5.6
- PHP : 5.6
- Apache : 2.3
- Drush: 8
- Xdebug

So far I am using the default drupal image which I have slightly modified for downloading xdebug and drush. The problem is that when i RUN drush commands in the docker file to install the site and import the database , I get a bootstrap error…

Any ideas?

Thanks