From 265009303ef7d5b957460b81336f943d32907a50 Mon Sep 17 00:00:00 2001 From: tradewind Date: Tue, 15 Jun 2021 18:20:19 +0800 Subject: [PATCH] #tradewind:update composer --- mysql/dockerfile | 1 - nginx/dockerfile | 2 +- php7.4/dockerfile | 4 +--- redis/dockerfile | 2 +- 4 files changed, 3 insertions(+), 6 deletions(-) diff --git a/mysql/dockerfile b/mysql/dockerfile index b2279c6..7efee1d 100644 --- a/mysql/dockerfile +++ b/mysql/dockerfile @@ -1,2 +1 @@ FROM mysql:5.7 -MAINTAINER tradewind diff --git a/nginx/dockerfile b/nginx/dockerfile index fc9de14..c0826d3 100644 --- a/nginx/dockerfile +++ b/nginx/dockerfile @@ -1,5 +1,5 @@ FROM nginx:alpine -MAINTAINER tradewind + RUN sed -i \ 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' \ /etc/apk/repositories && apk update diff --git a/php7.4/dockerfile b/php7.4/dockerfile index 5ebe62b..e4a74ce 100644 --- a/php7.4/dockerfile +++ b/php7.4/dockerfile @@ -1,7 +1,5 @@ FROM php:7.4-fpm-alpine -MAINTAINER tradewind - RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories RUN apk add --no-cache --virtual .build-deps \ @@ -39,6 +37,6 @@ RUN apk add --no-cache --virtual .build-deps \ && apk del -f .build-deps # 修改 composer 为国内镜像 -RUN composer config -g repo.packagist composer https://packagist.laravel-china.org +RUN composer config -g repo.packagist composer https://mirrors.cloud.tencent.com/composer/ WORKDIR /var/www \ No newline at end of file diff --git a/redis/dockerfile b/redis/dockerfile index 4120375..14c815c 100644 --- a/redis/dockerfile +++ b/redis/dockerfile @@ -1,5 +1,5 @@ FROM redis:6.2-alpine -MAINTAINER tradewind + RUN sed -i \ 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' \ /etc/apk/repositories && apk update \ No newline at end of file