We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bbb5ea1 + 0a7c468 commit 17eda44Copy full SHA for 17eda44
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; sync \
8
+ && drush core-status -y \
9
+ && drush init -y \
10
+ && rm -rf /var/lib/apt/lists/*
11
12
CMD ["drush", "core-cli"]
0 commit comments