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 ca637bb commit c5c26db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile-ce
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ ARG TOOLS=" \
wget"

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,6 +99,7 @@ ARG TOOLS=" \
wget"

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 c5c26db

Please sign in to comment.