From 749125d3b75a3182dc1267369ea8015c12f1907b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=96=87=E8=89=B3?= Date: Sat, 23 May 2026 20:51:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0Dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- projects/fangjia-script/Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/projects/fangjia-script/Dockerfile b/projects/fangjia-script/Dockerfile index 568061f47..a080b6443 100644 --- a/projects/fangjia-script/Dockerfile +++ b/projects/fangjia-script/Dockerfile @@ -1,9 +1,10 @@ FROM 192.168.0.19:9010/eclipse-temurin:8-jre ENV TZ=Asia/Shanghai -RUN sed -i 's|http://archive.ubuntu.com|http://mirrors.aliyun.com|g; \ - s|http://security.ubuntu.com|http://mirrors.aliyun.com|g' \ - /etc/apt/sources.list && \ +RUN find /etc/apt -name "*.list" -o -name "*.sources" | \ + xargs sed -i \ + 's|http://archive.ubuntu.com|http://mirrors.aliyun.com|g; \ + s|http://security.ubuntu.com|http://mirrors.aliyun.com|g' && \ apt-get update && apt-get install -y --no-install-recommends wget tzdata && \ wget -q "https://github.com/aptible/supercronic/releases/download/v0.2.29/supercronic-linux-amd64" \ -O /usr/local/bin/supercronic && \