Merge pull request #1069 from terryzwt/master
fixed #1068 drush need mysql-client installed
This commit is contained in:
commit
b1144bba7e
@ -202,6 +202,8 @@ ENV DRUSH_VERSION 8.1.2
|
|||||||
ARG INSTALL_DRUSH=false
|
ARG INSTALL_DRUSH=false
|
||||||
ENV INSTALL_DRUSH ${INSTALL_DRUSH}
|
ENV INSTALL_DRUSH ${INSTALL_DRUSH}
|
||||||
RUN if [ ${INSTALL_DRUSH} = true ]; then \
|
RUN if [ ${INSTALL_DRUSH} = true ]; then \
|
||||||
|
apt-get update -yqq && \
|
||||||
|
apt-get -y install mysql-client && \
|
||||||
# Install Drush 8 with the phar file.
|
# 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 && \
|
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 && \
|
chmod +x /usr/local/bin/drush && \
|
||||||
|
@ -202,6 +202,8 @@ ENV DRUSH_VERSION 8.1.2
|
|||||||
ARG INSTALL_DRUSH=false
|
ARG INSTALL_DRUSH=false
|
||||||
ENV INSTALL_DRUSH ${INSTALL_DRUSH}
|
ENV INSTALL_DRUSH ${INSTALL_DRUSH}
|
||||||
RUN if [ ${INSTALL_DRUSH} = true ]; then \
|
RUN if [ ${INSTALL_DRUSH} = true ]; then \
|
||||||
|
apt-get update -yqq && \
|
||||||
|
apt-get -y install mysql-client && \
|
||||||
# Install Drush 8 with the phar file.
|
# 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 && \
|
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 && \
|
chmod +x /usr/local/bin/drush && \
|
||||||
|
@ -199,6 +199,8 @@ ENV DRUSH_VERSION 8.1.2
|
|||||||
ARG INSTALL_DRUSH=false
|
ARG INSTALL_DRUSH=false
|
||||||
ENV INSTALL_DRUSH ${INSTALL_DRUSH}
|
ENV INSTALL_DRUSH ${INSTALL_DRUSH}
|
||||||
RUN if [ ${INSTALL_DRUSH} = true ]; then \
|
RUN if [ ${INSTALL_DRUSH} = true ]; then \
|
||||||
|
apt-get update -yqq && \
|
||||||
|
apt-get -y install mysql-client && \
|
||||||
# Install Drush 8 with the phar file.
|
# 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 && \
|
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 && \
|
chmod +x /usr/local/bin/drush && \
|
||||||
|
Loading…
Reference in New Issue
Block a user