From 823239010aaae0988922f7f73176c41d11acf5ab Mon Sep 17 00:00:00 2001 From: baijunyao Date: Wed, 14 Aug 2019 21:50:30 +0800 Subject: [PATCH] Use aliyun compose mirrors --- image/multistage-builds/example/laravel/Dockerfile | 2 +- image/multistage-builds/laravel.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/image/multistage-builds/example/laravel/Dockerfile b/image/multistage-builds/example/laravel/Dockerfile index c2e44b7..2f69134 100644 --- a/image/multistage-builds/example/laravel/Dockerfile +++ b/image/multistage-builds/example/laravel/Dockerfile @@ -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 \ diff --git a/image/multistage-builds/laravel.md b/image/multistage-builds/laravel.md index 1209aec..e8c8f10 100644 --- a/image/multistage-builds/laravel.md +++ b/image/multistage-builds/laravel.md @@ -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 \ @@ -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 \