File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -86,10 +86,10 @@ services:
8686 - CHROME_DRIVER_VERSION=${WORKSPACE_CHROME_DRIVER_VERSION}
8787 - NODE_VERSION=${WORKSPACE_NODE_VERSION}
8888 - YARN_VERSION=${WORKSPACE_YARN_VERSION}
89+ - DRUSH_VERSION=${WORKSPACE_DRUSH_VERSION}
8990 - TZ=${WORKSPACE_TIMEZONE}
9091 - BLACKFIRE_CLIENT_ID=${BLACKFIRE_CLIENT_ID}
9192 - BLACKFIRE_CLIENT_TOKEN=${BLACKFIRE_CLIENT_TOKEN}
92- - DRUSH_VERSION=${DRUSH_VERSION}
9393 volumes :
9494 - ${APP_CODE_PATH_HOST}:${APP_CODE_PATH_CONTAINER}
9595 extra_hosts :
Original file line number Diff line number Diff line change @@ -70,7 +70,6 @@ DOCKER_SYNC_STRATEGY=native_osx
7070
7171### WORKSPACE #############################################
7272
73-
7473WORKSPACE_COMPOSER_GLOBAL_INSTALL=true
7574WORKSPACE_COMPOSER_REPO_PACKAGIST=
7675WORKSPACE_INSTALL_NODE=true
@@ -88,6 +87,7 @@ WORKSPACE_INSTALL_MONGO=false
8887WORKSPACE_INSTALL_AMQP=false
8988WORKSPACE_INSTALL_MSSQL=false
9089WORKSPACE_INSTALL_DRUSH=false
90+ WORKSPACE_DRUSH_VERSION=8.1.16
9191WORKSPACE_INSTALL_DRUPAL_CONSOLE=false
9292WORKSPACE_INSTALL_AEROSPIKE=false
9393WORKSPACE_INSTALL_V8JS=false
@@ -348,7 +348,3 @@ LARAVEL_ECHO_SERVER_PORT=6001
348348SOLR_VERSION=5.5
349349SOLR_PORT=8983
350350SOLR_DATAIMPORTHANDLER_MYSQL=false
351-
352- ### DRUSH_VERSION #########################################
353-
354- DRUSH_VERSION=9.2.3
Original file line number Diff line number Diff line change @@ -299,13 +299,17 @@ RUN if [ ${INSTALL_SWOOLE} = true ]; then \
299299# Drush:
300300# ##########################################################################
301301
302+ # Deprecated install of Drush 8 and earlier versions.
303+ # Drush 9 and up require Drush to be listed as a composer dependency of your site.
304+
302305USER root
303306
304307ARG INSTALL_DRUSH=false
308+ ARG DRUSH_VERSION
309+ ENV DRUSH_VERSION ${DRUSH_VERSION}
305310
306311RUN if [ ${INSTALL_DRUSH} = true ]; then \
307312 apt-get -y install mysql-client && \
308- # Install Drush 8 with the phar file.
309313 curl -fsSL -o /usr/local/bin/drush https://github.com/drush-ops/drush/releases/download/${DRUSH_VERSION}/drush.phar | bash && \
310314 chmod +x /usr/local/bin/drush && \
311315 drush core-status \
You can’t perform that action at this time.
0 commit comments