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 f7fd2ee commit dc0e745Copy full SHA for dc0e745
1 file changed
Dockerfile
@@ -24,7 +24,7 @@ RUN pacman -Syy --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
RUN export TMPFILE="$(mktemp)"; \
26
sudo true; \
27
- rate-mirrors --save=$TMPFILE arch --max-delay=43200 \
+ sudo -u nobody rate-mirrors --save=$TMPFILE arch --max-delay=43200 \
28
&& sudo mv /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist-backup \
29
&& sudo mv $TMPFILE /etc/pacman.d/mirrorlist
30
0 commit comments