From e11e9053edb28c0736fbb0e4d0353125627c2ec4 Mon Sep 17 00:00:00 2001 From: Amor <794000949@qq.com> Date: Fri, 27 Aug 2021 17:26:47 +0800 Subject: [PATCH] update ubuntu source --- php-fpm/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/php-fpm/Dockerfile b/php-fpm/Dockerfile index c86213f..b483bba 100644 --- a/php-fpm/Dockerfile +++ b/php-fpm/Dockerfile @@ -30,8 +30,8 @@ RUN if [ ${CHANGE_SOURCE} = true ]; then \ # Change application source from deb.debian.org to aliyun source sed -i 's/deb.debian.org/mirrors.aliyun.com/' /etc/apt/sources.list && \ sed -i 's/security.debian.org/mirrors.aliyun.com/' /etc/apt/sources.list && \ - sed -i 's/security-cdn.debian.org/mirrors.aliyun.com/' /etc/apt/sources.list \ - sed -i 's/archive.ubuntu.com/mirrors.aliyun.com/g' /etc/apt/sources.list; \ + sed -i 's/security-cdn.debian.org/mirrors.aliyun.com/' /etc/apt/sources.list && \ + sed -i 's/archive.ubuntu.com/mirrors.aliyun.com/g' /etc/apt/sources.list \ ;fi # always run apt update when start and after add new source list, then clean up at end.