Skip to content

Commit 17eda44

Browse files
committed
Merge pull request #4 from drupal-docker/fix/2
Fix #2
2 parents bbb5ea1 + 0a7c468 commit 17eda44

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

master/Dockerfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@ FROM drupaldocker/php:cli
22
MAINTAINER drupal-docker
33

44
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
5+
6+
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/*
711

812
CMD ["drush", "core-cli"]

0 commit comments

Comments
 (0)