Skip to content

Commit

Permalink
perf: 优化下源
Browse files Browse the repository at this point in the history
  • Loading branch information
O-Jiangweidong committed Sep 4, 2024
1 parent c5c26db commit 75fe0e8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile-ce
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ ARG TOOLS=" \
xz-utils \
wget"

ARG APT_MIRROR=http://mirrors.ustc.edu.cn
#ARG APT_MIRROR=http://mirrors.tuna.tsinghua.edu.cn
#ARG APT_MIRROR=http://mirrors.ustc.edu.cn
ARG APT_MIRROR=http://mirrors.tuna.tsinghua.edu.cn
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked,id=core-apt \
--mount=type=cache,target=/var/lib/apt,sharing=locked,id=core-apt \
sed -i "s@http://.*.debian.org@${APT_MIRROR}@g" /etc/apt/sources.list \
Expand Down Expand Up @@ -98,8 +98,8 @@ ARG TOOLS=" \
bubblewrap \
wget"

ARG APT_MIRROR=http://mirrors.ustc.edu.cn
#ARG APT_MIRROR=http://mirrors.tuna.tsinghua.edu.cn
#ARG APT_MIRROR=http://mirrors.ustc.edu.cn
ARG APT_MIRROR=http://mirrors.tuna.tsinghua.edu.cn
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked,id=core-apt \
--mount=type=cache,target=/var/lib/apt,sharing=locked,id=core-apt \
sed -i "s@http://.*.debian.org@${APT_MIRROR}@g" /etc/apt/sources.list \
Expand Down

0 comments on commit 75fe0e8

Please sign in to comment.