Skip to content

Commit

Permalink
Use aliyun compose mirrors
Browse files Browse the repository at this point in the history
  • Loading branch information
baijunyao committed Aug 14, 2019
1 parent b8dc1a7 commit 8232390
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 8232390

Please sign in to comment.