Skip to content

Commit 313795f

Browse files
committed
Fix #2
1 parent bbb5ea1 commit 313795f

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 \
8+
&& /usr/local/bin/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)