Skip to content
Snippets Groups Projects
Commit f627fb20 authored by Andrey Postnikov's avatar Andrey Postnikov Committed by Andrey Postnikov
Browse files

Issue #3479441 : fix composer on 2.7.9



(cherry picked from commit 1d675970)

Co-authored-by: default avatarAndy Postnikov <apostnikov@gmail.com>
parent f3efe7d9
Branches
No related tags found
No related merge requests found
......@@ -192,7 +192,7 @@ RUN set -xe &&\
RUN curl -sSLo /tmp/composer-setup.php https://getcomposer.org/installer &&\
curl -sSLo /tmp/composer-setup.sig https://composer.github.io/installer.sig &&\
php -r "if (hash('SHA384', file_get_contents('/tmp/composer-setup.php')) !== trim(file_get_contents('/tmp/composer-setup.sig'))) { unlink('/tmp/composer-setup.php'); echo 'Invalid installer' . PHP_EOL; exit(1); }" &&\
php /tmp/composer-setup.php --filename composer --install-dir /usr/local/bin &&\
php /tmp/composer-setup.php --filename composer --install-dir /usr/local/bin --version 2.7.9 &&\
curl -sSLo /usr/local/bin/drush https://github.com/drush-ops/drush/releases/download/8.3.5/drush.phar &&\
chmod +x /usr/local/bin/drush &&\
/usr/local/bin/drush --version
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment