docker,php容器中下载composer

1、curl-sS https://getcomposer.org/installer|php

2、mv composer.phar/usr/local/bin/composer

3、composer config-g repo.packagist composer https://mirrors.aliyun.com/composer/

你可能感兴趣的:(docker,php容器中下载composer)