Trying to run composer create-project drupal-composer/drupal-project:8.x-dev some-dir --stability dev --no-interaction with this image ends up with the following error:
The "https://packagist.drupal-composer.org/packages.json" file could not be downloaded: failed to open stream: Connection refused
This is apparently because composer forces HTTPS by default and drupal-composer still uses HTTP URLs which means that this kind of is an upstream issue (https://groups.drupal.org/node/509817), but we should solve it by allowing to use HTTP URLs with the composer in this image because those might be needed somewhere else too.
Trying to run
composer create-project drupal-composer/drupal-project:8.x-dev some-dir --stability dev --no-interaction
with this image ends up with the following error:The "https://packagist.drupal-composer.org/packages.json" file could not be downloaded: failed to open stream: Connection refused
This is apparently because composer forces HTTPS by default and drupal-composer still uses HTTP URLs which means that this kind of is an upstream issue (https://groups.drupal.org/node/509817), but we should solve it by allowing to use HTTP URLs with the composer in this image because those might be needed somewhere else too.