replaced composer drush by drush-launcher 0.6.0, added druapl-console launcher
This commit is contained in:
+11
-6
@@ -17,9 +17,14 @@ RUN apt-get update && apt-get install -y \
|
|||||||
apt-get install -y git vim && \
|
apt-get install -y git vim && \
|
||||||
pecl install redis-3.1.0 && \
|
pecl install redis-3.1.0 && \
|
||||||
pecl install xdebug-2.5.0 && \
|
pecl install xdebug-2.5.0 && \
|
||||||
docker-php-ext-enable redis xdebug && \
|
docker-php-ext-enable redis xdebug
|
||||||
export COMPOSER_HOME=/usr/local/composer && \
|
|
||||||
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && \
|
RUN export COMPOSER_HOME=/usr/local/composer && \
|
||||||
composer global require drush/drush:8 && \
|
curl -sS https://getcomposer.org/installer \
|
||||||
composer global install && \
|
| php -- --install-dir=/usr/local/bin --filename=composer && \
|
||||||
ln -s /usr/local/composer/vendor/drush/drush/drush /usr/local/bin/drush
|
curl https://drupalconsole.com/installer \
|
||||||
|
-L -o /usr/local/bin/drupal && \
|
||||||
|
chmod +x /usr/local/bin/drupal && \
|
||||||
|
curl https://github.com/drush-ops/drush-launcher/releases/download/0.6.0/drush.phar \
|
||||||
|
-L -o /usr/local/bin/drush && \
|
||||||
|
chmod +x /usr/local/bin/drush
|
||||||
|
|||||||
Reference in New Issue
Block a user