We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19afb24 commit 81e8c33Copy full SHA for 81e8c33
1 file changed
Dockerfile
@@ -24,9 +24,10 @@ RUN pacman -Sy --noconfirm && \
24
#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 -
25
26
# 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
+# pacman -S rate-mirrors-bin --noconfirm && \
+# touch "$TMPFILE" && \
+# rate-mirrors --save="$TMPFILE" --allow-root arch --completion=1 --max-delay=43200 && \
30
+# mv $TMPFILE /etc/pacman.d/mirrorlist
31
32
# Fetch from the updated mirrors
33
RUN pacman -Syy --noconfirm
0 commit comments