DEV Community

Discussion on: Composer install error Failed to extract

Collapse
 
elte156 profile image
Tony Pagaduan

Thanks for this. I am in the same situation with my Dockerfile.
Instead of downloading the phar file, you can still install the binary so you can keep using composer install.

getcomposer.org/doc/faqs/how-to-in...

Change
php composer-setup.php --quiet
to
php composer-setup.php --quiet --filename=composer --version=1.10.19

Collapse
 
urielbitton profile image
Uriel Bitton

Nice one Tony.
Welcome to DEV as well!