From a590ed78ceb98cc32b2a4f89880638ceb844c7a1 Mon Sep 17 00:00:00 2001 From: terry Date: Wed, 26 Jul 2017 13:15:12 +0800 Subject: [PATCH] fixed #1068 --- workspace/Dockerfile-56 | 2 ++ workspace/Dockerfile-70 | 2 ++ workspace/Dockerfile-71 | 2 ++ 3 files changed, 6 insertions(+) diff --git a/workspace/Dockerfile-56 b/workspace/Dockerfile-56 index 076eda3..d844b39 100644 --- a/workspace/Dockerfile-56 +++ b/workspace/Dockerfile-56 @@ -202,6 +202,8 @@ ENV DRUSH_VERSION 8.1.2 ARG INSTALL_DRUSH=false ENV INSTALL_DRUSH ${INSTALL_DRUSH} RUN if [ ${INSTALL_DRUSH} = true ]; then \ + apt-get update -yqq && \ + apt-get -y install mysql-client && \ # Install Drush 8 with the phar file. curl -fsSL -o /usr/local/bin/drush https://github.com/drush-ops/drush/releases/download/$DRUSH_VERSION/drush.phar | bash && \ chmod +x /usr/local/bin/drush && \ diff --git a/workspace/Dockerfile-70 b/workspace/Dockerfile-70 index 3751c7a..c55e297 100644 --- a/workspace/Dockerfile-70 +++ b/workspace/Dockerfile-70 @@ -202,6 +202,8 @@ ENV DRUSH_VERSION 8.1.2 ARG INSTALL_DRUSH=false ENV INSTALL_DRUSH ${INSTALL_DRUSH} RUN if [ ${INSTALL_DRUSH} = true ]; then \ + apt-get update -yqq && \ + apt-get -y install mysql-client && \ # Install Drush 8 with the phar file. curl -fsSL -o /usr/local/bin/drush https://github.com/drush-ops/drush/releases/download/$DRUSH_VERSION/drush.phar | bash && \ chmod +x /usr/local/bin/drush && \ diff --git a/workspace/Dockerfile-71 b/workspace/Dockerfile-71 index c66befb..350bb62 100644 --- a/workspace/Dockerfile-71 +++ b/workspace/Dockerfile-71 @@ -199,6 +199,8 @@ ENV DRUSH_VERSION 8.1.2 ARG INSTALL_DRUSH=false ENV INSTALL_DRUSH ${INSTALL_DRUSH} RUN if [ ${INSTALL_DRUSH} = true ]; then \ + apt-get update -yqq && \ + apt-get -y install mysql-client && \ # Install Drush 8 with the phar file. curl -fsSL -o /usr/local/bin/drush https://github.com/drush-ops/drush/releases/download/$DRUSH_VERSION/drush.phar | bash && \ chmod +x /usr/local/bin/drush && \