Closed KEINOS closed 3 years ago
As of Composer v2 release, many packages don't work on the fly. It's better to specify the composer version to use.
# Install Composer echo '- Installing composer ...' && \ EXPECTED_SIGNATURE="$(wget -q -O - https://composer.github.io/installer.sig)"; \ php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"; \ ACTUAL_SIGNATURE="$(php -r "echo hash_file('sha384', 'composer-setup.php');")"; \ [ "$EXPECTED_SIGNATURE" != "$ACTUAL_SIGNATURE" ] && { >&2 echo 'ERROR: Invalid installer signature'; exit 1; }; \ - php composer-setup.php --install-dir=/bin --filename=composer && \ + php composer-setup.php --install-dir=/bin --version=1.10.17 --filename=composer && \
As of Composer v2 release, many packages don't work on the fly. It's better to specify the composer version to use.