File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,11 +23,11 @@ RUN pacman -Sy --noconfirm && \
2323
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
26- # RUN export TMPFILE="/tmp/ratemir" && \
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
26+ RUN export TMPFILE="/tmp/ratemir" && \
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
3131
3232# Fetch from the updated mirrors
3333RUN pacman -Syy --noconfirm
You can’t perform that action at this time.
0 commit comments