We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbb5ea1 commit 313795fCopy full SHA for 313795f
1 file changed
master/Dockerfile
@@ -2,7 +2,11 @@ FROM drupaldocker/php:cli
2
MAINTAINER drupal-docker
3
4
ADD http://files.drush.org/drush.phar /usr/local/bin/drush
5
-RUN php /usr/local/bin/drush core-status -y && chmod a+x /usr/local/bin/drush
6
-RUN drush init -y
+
+RUN apt-get update && apt-get install -y mysql-client \
7
+ && chmod a+x /usr/local/bin/drush \
8
+ && /usr/local/bin/drush core-status -y \
9
+ && drush init -y \
10
+ && rm -rf /var/lib/apt/lists/*
11
12
CMD ["drush", "core-cli"]
0 commit comments