File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -87,10 +87,10 @@ services:
8787 - CHROME_DRIVER_VERSION=${WORKSPACE_CHROME_DRIVER_VERSION}
8888 - NODE_VERSION=${WORKSPACE_NODE_VERSION}
8989 - YARN_VERSION=${WORKSPACE_YARN_VERSION}
90+ - DRUSH_VERSION=${WORKSPACE_DRUSH_VERSION}
9091 - TZ=${WORKSPACE_TIMEZONE}
9192 - BLACKFIRE_CLIENT_ID=${BLACKFIRE_CLIENT_ID}
9293 - BLACKFIRE_CLIENT_TOKEN=${BLACKFIRE_CLIENT_TOKEN}
93- - DRUSH_VERSION=${DRUSH_VERSION}
9494 volumes :
9595 - ${APP_CODE_PATH_HOST}:${APP_CODE_PATH_CONTAINER}
9696 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
@@ -89,6 +88,7 @@ WORKSPACE_INSTALL_MONGO=false
8988WORKSPACE_INSTALL_AMQP=false
9089WORKSPACE_INSTALL_MSSQL=false
9190WORKSPACE_INSTALL_DRUSH=false
91+ WORKSPACE_DRUSH_VERSION=8.1.16
9292WORKSPACE_INSTALL_DRUPAL_CONSOLE=false
9393WORKSPACE_INSTALL_AEROSPIKE=false
9494WORKSPACE_INSTALL_V8JS=false
@@ -349,7 +349,3 @@ LARAVEL_ECHO_SERVER_PORT=6001
349349SOLR_VERSION=5.5
350350SOLR_PORT=8983
351351SOLR_DATAIMPORTHANDLER_MYSQL=false
352-
353- ### DRUSH_VERSION #########################################
354-
355- DRUSH_VERSION=9.2.3
Original file line number Diff line number Diff line change @@ -319,10 +319,14 @@ RUN if [ ${INSTALL_SWOOLE} = true ]; then \
319319# Drush:
320320# ##########################################################################
321321
322+ # Deprecated install of Drush 8 and earlier versions.
323+ # Drush 9 and up require Drush to be listed as a composer dependency of your site.
324+
322325USER root
323326
324327ARG INSTALL_DRUSH=false
325- ARG DRUSH_VERSION=${DRUSH_VERSION}
328+ ARG DRUSH_VERSION
329+ ENV DRUSH_VERSION ${DRUSH_VERSION}
326330
327331RUN if [ ${INSTALL_DRUSH} = true ]; then \
328332 apt-get update -yqq && \
You can’t perform that action at this time.
0 commit comments