Skip to content

Commit 8481964

Browse files
committed
fixxing
1 parent 0912092 commit 8481964

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ RUN pacman-key --init; \
1010
pacman-key --recv-keys 998de27318e867ea976ba877389ceed64573dfca; \
1111
pacman-key --lsign-key 998de27318e867ea976ba877389ceed64573dfca
1212
# Updating and installing packages
13-
RUN pacman -Syu --noconfirm; \
13+
RUN pacman -Syyu --noconfirm; \
1414
pacman -S \
1515
base-devel \
1616
python \

create_bootstrap_archlinux.sh

+4
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,10 @@ for i in ${NEED[*]}; do
145145
download_pkg $i
146146
done
147147

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+
148152
# Setting pacman
149153
sed -i 's|^#*.Server|Server|g' "archlinux-$arch/etc/pacman.d/mirrorlist"
150154
sed -i "s/^Architecture = auto/Architecture = $arch/" "archlinux-$arch/etc/pacman.conf"

0 commit comments

Comments
 (0)