|
@@ -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 && \
|
|
|
|
- export COMPOSER_HOME=/usr/local/composer && \
|
|
|
|
- curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && \
|
|
|
|
- composer global require drush/drush:8 && \
|
|
|
|
- composer global install && \
|
|
|
|
- ln -s /usr/local/composer/vendor/drush/drush/drush /usr/local/bin/drush
|
|
|
|
|
|
+ docker-php-ext-enable redis xdebug
|
|
|
|
+
|
|
|
|
+RUN export COMPOSER_HOME=/usr/local/composer && \
|
|
|
|
+ curl -sS https://getcomposer.org/installer \
|
|
|
|
+ | php -- --install-dir=/usr/local/bin --filename=composer && \
|
|
|
|
+ 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
|