From e4d3f201712cbdbe0f28d9c08d691c9640cab95b Mon Sep 17 00:00:00 2001 From: boxker Date: Fri, 24 May 2024 09:37:12 +0800 Subject: [PATCH] fix: update apt source to mirrors.163.com in debian.sources - Changed the apt source in the Dockerfile from deb.debian.org to mirrors.163.com. - Updated the sed command to target the /etc/apt/sources.list.d/debian.sources file instead of the default /etc/apt/sources.list. - This change ensures that the Docker image uses a faster and more reliable mirror for package downloads. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8c1a2745..0f11be31 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ ARG BLADE_VERSION=0.0.1 ARG MUSL_VERSION=1.2.0 # Using 163 mirror for Debian Strech -RUN sed -i 's/deb.debian.org/mirrors.163.com/g' /etc/apt/sources.list +RUN sed -i 's/deb.debian.org/mirrors.163.com/g' /etc/apt/sources.list.d/debian.sources RUN apt-get update && apt-get install unzip # # The image is used to build chaosblade for musl