Merge pull request #1502 from wvdongen/master
Fix Drush installation, consistent arguments, deprecated install note
This commit is contained in:
commit
409f91662f
@ -87,10 +87,10 @@ services:
|
|||||||
- CHROME_DRIVER_VERSION=${WORKSPACE_CHROME_DRIVER_VERSION}
|
- CHROME_DRIVER_VERSION=${WORKSPACE_CHROME_DRIVER_VERSION}
|
||||||
- NODE_VERSION=${WORKSPACE_NODE_VERSION}
|
- NODE_VERSION=${WORKSPACE_NODE_VERSION}
|
||||||
- YARN_VERSION=${WORKSPACE_YARN_VERSION}
|
- YARN_VERSION=${WORKSPACE_YARN_VERSION}
|
||||||
|
- DRUSH_VERSION=${WORKSPACE_DRUSH_VERSION}
|
||||||
- TZ=${WORKSPACE_TIMEZONE}
|
- TZ=${WORKSPACE_TIMEZONE}
|
||||||
- BLACKFIRE_CLIENT_ID=${BLACKFIRE_CLIENT_ID}
|
- BLACKFIRE_CLIENT_ID=${BLACKFIRE_CLIENT_ID}
|
||||||
- BLACKFIRE_CLIENT_TOKEN=${BLACKFIRE_CLIENT_TOKEN}
|
- BLACKFIRE_CLIENT_TOKEN=${BLACKFIRE_CLIENT_TOKEN}
|
||||||
- DRUSH_VERSION=${DRUSH_VERSION}
|
|
||||||
volumes:
|
volumes:
|
||||||
- ${APP_CODE_PATH_HOST}:${APP_CODE_PATH_CONTAINER}
|
- ${APP_CODE_PATH_HOST}:${APP_CODE_PATH_CONTAINER}
|
||||||
extra_hosts:
|
extra_hosts:
|
||||||
|
@ -70,7 +70,6 @@ DOCKER_SYNC_STRATEGY=native_osx
|
|||||||
|
|
||||||
### WORKSPACE #############################################
|
### WORKSPACE #############################################
|
||||||
|
|
||||||
|
|
||||||
WORKSPACE_COMPOSER_GLOBAL_INSTALL=true
|
WORKSPACE_COMPOSER_GLOBAL_INSTALL=true
|
||||||
WORKSPACE_COMPOSER_REPO_PACKAGIST=
|
WORKSPACE_COMPOSER_REPO_PACKAGIST=
|
||||||
WORKSPACE_INSTALL_NODE=true
|
WORKSPACE_INSTALL_NODE=true
|
||||||
@ -89,6 +88,7 @@ WORKSPACE_INSTALL_MONGO=false
|
|||||||
WORKSPACE_INSTALL_AMQP=false
|
WORKSPACE_INSTALL_AMQP=false
|
||||||
WORKSPACE_INSTALL_MSSQL=false
|
WORKSPACE_INSTALL_MSSQL=false
|
||||||
WORKSPACE_INSTALL_DRUSH=false
|
WORKSPACE_INSTALL_DRUSH=false
|
||||||
|
WORKSPACE_DRUSH_VERSION=8.1.16
|
||||||
WORKSPACE_INSTALL_DRUPAL_CONSOLE=false
|
WORKSPACE_INSTALL_DRUPAL_CONSOLE=false
|
||||||
WORKSPACE_INSTALL_AEROSPIKE=false
|
WORKSPACE_INSTALL_AEROSPIKE=false
|
||||||
WORKSPACE_INSTALL_V8JS=false
|
WORKSPACE_INSTALL_V8JS=false
|
||||||
@ -349,7 +349,3 @@ LARAVEL_ECHO_SERVER_PORT=6001
|
|||||||
SOLR_VERSION=5.5
|
SOLR_VERSION=5.5
|
||||||
SOLR_PORT=8983
|
SOLR_PORT=8983
|
||||||
SOLR_DATAIMPORTHANDLER_MYSQL=false
|
SOLR_DATAIMPORTHANDLER_MYSQL=false
|
||||||
|
|
||||||
### DRUSH_VERSION #########################################
|
|
||||||
|
|
||||||
DRUSH_VERSION=9.2.3
|
|
||||||
|
@ -319,10 +319,14 @@ RUN if [ ${INSTALL_SWOOLE} = true ]; then \
|
|||||||
# Drush:
|
# Drush:
|
||||||
###########################################################################
|
###########################################################################
|
||||||
|
|
||||||
|
# Deprecated install of Drush 8 and earlier versions.
|
||||||
|
# Drush 9 and up require Drush to be listed as a composer dependency of your site.
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
ARG INSTALL_DRUSH=false
|
ARG INSTALL_DRUSH=false
|
||||||
ARG DRUSH_VERSION=${DRUSH_VERSION}
|
ARG DRUSH_VERSION
|
||||||
|
ENV DRUSH_VERSION ${DRUSH_VERSION}
|
||||||
|
|
||||||
RUN if [ ${INSTALL_DRUSH} = true ]; then \
|
RUN if [ ${INSTALL_DRUSH} = true ]; then \
|
||||||
apt-get update -yqq && \
|
apt-get update -yqq && \
|
||||||
|
Loading…
Reference in New Issue
Block a user