Skip to content

Commit 81e8c33

Browse files
authored
Disable rate-mirrors-bin
1 parent 19afb24 commit 81e8c33

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ RUN pacman -Sy --noconfirm && \
2424
#RUN curl -s "https://archlinux.org/mirrorlist/?country=IN&country=US&country=DE&country=GB&protocol=https&use_mirror_status=on" | sed -e 's/^#Server/Server/' -e '/^#/d' | rankmirrors -n 5 -
2525

2626
# RUN export TMPFILE="/tmp/ratemir" && \
27-
# sudo touch "$TMPFILE" && \
28-
# sudo rate-mirrors --save="$TMPFILE" --allow-root arch --completion=1 --max-delay=43200 && \
29-
# sudo mv $TMPFILE /etc/pacman.d/mirrorlist
27+
# pacman -S rate-mirrors-bin --noconfirm && \
28+
# touch "$TMPFILE" && \
29+
# rate-mirrors --save="$TMPFILE" --allow-root arch --completion=1 --max-delay=43200 && \
30+
# mv $TMPFILE /etc/pacman.d/mirrorlist
3031

3132
# Fetch from the updated mirrors
3233
RUN pacman -Syy --noconfirm

0 commit comments

Comments
 (0)