File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -43,10 +43,11 @@ RUN php5enmod mcrypt
4343RUN /usr/bin/curl -sS https://getcomposer.org/installer | /usr/bin/php
4444RUN /bin/mv composer.phar /usr/local/bin/composer
4545
46- # Install Composer and Drush
46+ # Install Composer and Drush 6.7
47+ RUN /usr/bin/curl -sS https://getcomposer.org/installer | /usr/bin/php
48+ RUN /bin/mv composer.phar /usr/local/bin/composer
4749RUN /usr/local/bin/composer self-update
48- RUN /usr/local/bin/composer global require drush/drush:6.*
49- RUN ln -s /root/.composer/vendor/drush/drush/drush /usr/local/bin/drush
50+ RUN mkdir --parents /opt/drush-6.7 && cd /opt/drush-6.7 && composer init --require=drush/drush:6.* -n && /usr/local/bin/composer config bin-dir /usr/local/bin && /usr/local/bin/composer install
5051
5152# Prepare directory
5253RUN mkdir /var/www
You can’t perform that action at this time.
0 commit comments