Merge pull request #2870 from PavelSavushkinMix/fix/php8.0_drush_package

fix(drush package): bump version to support PHP 8.0
This commit is contained in:
Shao Yu-Lung (Allen) 2021-03-14 01:11:12 +08:00 committed by GitHub
commit f57c7f3744
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -138,7 +138,7 @@ WORKSPACE_INSTALL_CASSANDRA=false
WORKSPACE_INSTALL_GEARMAN=false WORKSPACE_INSTALL_GEARMAN=false
WORKSPACE_INSTALL_MSSQL=false WORKSPACE_INSTALL_MSSQL=false
WORKSPACE_INSTALL_DRUSH=false WORKSPACE_INSTALL_DRUSH=false
WORKSPACE_DRUSH_VERSION=8.1.17 WORKSPACE_DRUSH_VERSION=8.4.6
WORKSPACE_INSTALL_DRUPAL_CONSOLE=false WORKSPACE_INSTALL_DRUPAL_CONSOLE=false
WORKSPACE_INSTALL_WP_CLI=false WORKSPACE_INSTALL_WP_CLI=false
WORKSPACE_INSTALL_AEROSPIKE=false WORKSPACE_INSTALL_AEROSPIKE=false

View File

@ -209,7 +209,7 @@ RUN chmod -R 644 /etc/cron.d
USER root USER root
RUN apt-get update -yqq RUN apt-get -yqq update
########################################################################### ###########################################################################
# Drush: # Drush:
@ -225,7 +225,7 @@ ARG DRUSH_VERSION
ENV DRUSH_VERSION ${DRUSH_VERSION} ENV DRUSH_VERSION ${DRUSH_VERSION}
RUN if [ ${INSTALL_DRUSH} = true ]; then \ RUN if [ ${INSTALL_DRUSH} = true ]; then \
apt-get -y install mysql-client && \ apt-get -qq -y install mysql-client && \
# Install Drush with the phar file. # Install Drush 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 && \