Skip to content

Commit

Permalink
Merge pull request #413 from baijunyao/master
Browse files Browse the repository at this point in the history
Use aliyun compose mirrors
  • Loading branch information
khs1994 authored Aug 14, 2019
2 parents b8dc1a7 + 8232390 commit 593a0c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion image/multistage-builds/example/laravel/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ COPY database/ /app/database/
COPY composer.json /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 \
--ignore-platform-reqs \
--no-interaction \
Expand Down
4 changes: 2 additions & 2 deletions image/multistage-builds/laravel.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ COPY database/ /app/database/
COPY composer.json composer.lock /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 \
--ignore-platform-reqs \
--no-interaction \
Expand Down Expand Up @@ -184,7 +184,7 @@ COPY database/ /app/database/
COPY composer.json /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 \
--ignore-platform-reqs \
--no-interaction \
Expand Down

0 comments on commit 593a0c3

Please sign in to comment.