Skip to content

Commit 19afb24

Browse files
authored
Disable rate-mirrors temporarily from the base image
1 parent 38b0177 commit 19afb24

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

Dockerfile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,14 @@ RUN sed -i '/^#.*\(VerbosePkgLists\|ILoveCandy\)/s/^#//' /etc/pacman.conf && \
1919

2020
# Fetch additional packages from the StratOS repos
2121
RUN pacman -Sy --noconfirm && \
22-
pacman -S rate-mirrors python-vdf python-inputs python-steam --noconfirm
22+
pacman -S python-vdf python-inputs python-steam --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 -
25-
RUN export TMPFILE="/tmp/ratemir" && \
26-
sudo touch "$TMPFILE" && \
27-
sudo rate-mirrors --save="$TMPFILE" --allow-root arch --completion=1 --max-delay=43200 && \
28-
sudo mv $TMPFILE /etc/pacman.d/mirrorlist
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
2930

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

0 commit comments

Comments
 (0)