Skip to content

Commit b0ef748

Browse files
committed
perf: update mirror
1 parent 7264640 commit b0ef748

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

allinone/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ ARG TOOLS=" \
2020
redis \
2121
wget"
2222

23-
RUN apt-get update \
23+
ARG APT_MIRROR=http://deb.debian.org
24+
RUN sed -i "s@http://.*.debian.org@${APT_MIRROR}@g" /etc/apt/sources.list \
25+
&& apt-get update \
2426
&& apt-get install -y --no-install-recommends ${TOOLS} \
2527
&& apt-get clean
2628

0 commit comments

Comments
 (0)