File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ FROM node:14.17 AS node
66RUN npm install -g gulp-cli
77
88# Build stage using php image.
9- FROM php:7.3 -cli
9+ FROM php:7.4 -cli
1010
1111# Install some needed packages then after install remove the cache files of
1212# apt-get to save space.
@@ -58,7 +58,7 @@ RUN cd /usr/local/bin; \
5858
5959# Set some environment variables for composer and drush.
6060ENV COMPOSER_ALLOW_SUPERUSER 1
61- ENV DRUSH_VERSION 8 .4.8
61+ ENV DRUSH_VERSION 10 .4.3
6262ENV TERMINUS_PLUGINS_DIR /usr/local/share/terminus-plugins
6363
6464# Copy our scripts folder into the tmp folder of this container.
Original file line number Diff line number Diff line change 11#! /bin/sh
22
3- curl -L https://github.com/drush-ops/drush/releases/download/${DRUSH_VERSION} /drush.phar -o /usr/local/bin/drush
3+ mkdir -p /usr/local/share/drush
4+ /usr/bin/env composer -n --working-dir=/usr/local/share/drush require drush/drush:${DRUSH_VERSION}
5+ ln -fs /usr/local/share/drush/vendor/drush/drush/drush /usr/local/bin/drush
46chmod +x /usr/local/bin/drush
7+
8+ # curl -L https://github.com/drush-ops/drush/releases/download/${DRUSH_VERSION}/drush.phar -o /usr/local/bin/drush
9+ # chmod +x /usr/local/bin/drush
You can’t perform that action at this time.
0 commit comments