From 2c04a55bfb2507b9f1bed327f0f65f5d44e6d807 Mon Sep 17 00:00:00 2001 From: sky121113 Date: Thu, 16 Apr 2026 15:44:39 +0800 Subject: [PATCH] perf: switch to Taiwan mirrors in Dockerfile to speed up build --- docker/8.5/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/8.5/Dockerfile b/docker/8.5/Dockerfile index 701b834..a106a33 100644 --- a/docker/8.5/Dockerfile +++ b/docker/8.5/Dockerfile @@ -17,6 +17,8 @@ ENV PLAYWRIGHT_BROWSERS_PATH=0 RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone +RUN sed -i 's/archive.ubuntu.com/tw.archive.ubuntu.com/g' /etc/apt/sources.list.d/ubuntu.sources || sed -i 's/archive.ubuntu.com/tw.archive.ubuntu.com/g' /etc/apt/sources.list + RUN echo "Acquire::http::Pipeline-Depth 0;" > /etc/apt/apt.conf.d/99custom && \ echo "Acquire::http::No-Cache true;" >> /etc/apt/apt.conf.d/99custom && \ echo "Acquire::BrokenProxy true;" >> /etc/apt/apt.conf.d/99custom