mirror of
https://github.com/yeasy/docker_practice.git
synced 2024-12-27 07:26:21 +00:00
Merge pull request #413 from baijunyao/master
Use aliyun compose mirrors
This commit is contained in:
commit
593a0c39ff
@ -17,7 +17,7 @@ COPY database/ /app/database/
|
|||||||
COPY composer.json /app/
|
COPY composer.json /app/
|
||||||
|
|
||||||
RUN cd /app \
|
RUN cd /app \
|
||||||
&& composer config -g repo.packagist composer https://packagist.laravel-china.org \
|
&& composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/ \
|
||||||
&& composer install \
|
&& composer install \
|
||||||
--ignore-platform-reqs \
|
--ignore-platform-reqs \
|
||||||
--no-interaction \
|
--no-interaction \
|
||||||
|
@ -76,7 +76,7 @@ COPY database/ /app/database/
|
|||||||
COPY composer.json composer.lock /app/
|
COPY composer.json composer.lock /app/
|
||||||
|
|
||||||
RUN cd /app \
|
RUN cd /app \
|
||||||
&& composer config -g repo.packagist composer https://packagist.laravel-china.org \
|
&& composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/ \
|
||||||
&& composer install \
|
&& composer install \
|
||||||
--ignore-platform-reqs \
|
--ignore-platform-reqs \
|
||||||
--no-interaction \
|
--no-interaction \
|
||||||
@ -184,7 +184,7 @@ COPY database/ /app/database/
|
|||||||
COPY composer.json /app/
|
COPY composer.json /app/
|
||||||
|
|
||||||
RUN cd /app \
|
RUN cd /app \
|
||||||
&& composer config -g repo.packagist composer https://packagist.laravel-china.org \
|
&& composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/ \
|
||||||
&& composer install \
|
&& composer install \
|
||||||
--ignore-platform-reqs \
|
--ignore-platform-reqs \
|
||||||
--no-interaction \
|
--no-interaction \
|
||||||
|
Loading…
Reference in New Issue
Block a user