s2i-php-container icon indicating copy to clipboard operation
s2i-php-container copied to clipboard

can't download composer installer

Open staticdnweb opened this issue 7 years ago • 2 comments

i got this error, when build image: Found 'composer.json', installing dependencies using composer.phar... Downloading https://getcomposer.org/installer, attempt 1/6 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0curl: (6) Could not resolve host: getcomposer.org; Unknown error

staticdnweb avatar Dec 29 '17 04:12 staticdnweb

Please take a look in https://github.com/sclorg/s2i-php-container/pull/182

Sometime there is network problem when downloading composer. So there is 5 retries when it fails. Problem you reported is probably case of this network problem.

@hoangweb Does downloading of composer failed completely? Or other retries were successful?

omron93 avatar Jan 02 '18 15:01 omron93

This will fix it https://github.com/sclorg/s2i-php-container/issues/221

xrow avatar Jul 12 '18 22:07 xrow

The issue is already fixed.

phracek avatar Mar 28 '23 08:03 phracek