Commit 8481964 1 parent 0912092 commit 8481964 Copy full SHA for 8481964
File tree 2 files changed +5
-1
lines changed
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ RUN pacman-key --init; \
10
10
pacman-key --recv-keys 998de27318e867ea976ba877389ceed64573dfca; \
11
11
pacman-key --lsign-key 998de27318e867ea976ba877389ceed64573dfca
12
12
# Updating and installing packages
13
- RUN pacman -Syu --noconfirm; \
13
+ RUN pacman -Syyu --noconfirm; \
14
14
pacman -S \
15
15
base-devel \
16
16
python \
Original file line number Diff line number Diff line change @@ -145,6 +145,10 @@ for i in ${NEED[*]}; do
145
145
download_pkg $i
146
146
done
147
147
148
+ if [ " $arch " = " x86_64" ]; then
149
+ curl " https://archlinux.org/mirrorlist/?country=US&protocol=https&ip_version=4&ip_version=6" > " archlinux-$arch /etc/pacman.d/mirrorlist"
150
+ fi
151
+
148
152
# Setting pacman
149
153
sed -i ' s|^#*.Server|Server|g' " archlinux-$arch /etc/pacman.d/mirrorlist"
150
154
sed -i " s/^Architecture = auto/Architecture = $arch /" " archlinux-$arch /etc/pacman.conf"
You can’t perform that action at this time.
0 commit comments