1414 docker stop " archlinux-base" 2> /dev/null ; docker rm " archlinux-base" 2> /dev/null
1515 docker run --name " archlinux-base" --privileged " azathothas/archlinux:latest" bash -l -c '
1616 #Bootstrap
17- pacman -y --sync --refresh --refresh -- sysupgrade --noconfirm --debug
17+ pacman -y --sync --refresh --sysupgrade --noconfirm --debug
1818 packages="bash binutils curl fakechroot fakeroot gawk git sed wget"
1919 for pkg in $packages; do pacman -Sy "${pkg}" --noconfirm ; done
2020 for pkg in $packages; do pacman -Sy "${pkg}" --needed --noconfirm ; done
@@ -43,8 +43,16 @@ set -x
4343 echo "en_US.UTF-8 UTF-8" | tee -a "/etc/locale.gen"
4444 echo "LC_ALL=en_US.UTF-8" | tee -a "/etc/environment"
4545 locale-gen ; locale-gen "en_US.UTF-8"
46+ #Chaotic-AUR: https://aur.chaotic.cx/docs
47+ if [[ "$(uname -m | tr -d "[:space:]")" == "x86_64" ]]; then
48+ pacman-key --recv-key "3056513887B78AEB" --keyserver "keyserver.ubuntu.com"
49+ pacman-key --lsign-key "3056513887B78AEB"
50+ pacman -U "https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-keyring.pkg.tar.zst" --noconfirm
51+ pacman -U "https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-mirrorlist.pkg.tar.zst" --noconfirm
52+ echo -e "[chaotic-aur]\nInclude = /etc/pacman.d/chaotic-mirrorlist" | tee -a "/etc/pacman.conf"
53+ fi
4654 #Cleanup
47- pacman -y --sync --refresh --refresh -- sysupgrade --noconfirm
55+ pacman -y --sync --refresh --sysupgrade --noconfirm
4856 pacman -Rsn base-devel --noconfirm
4957 pacman -Rsn perl --noconfirm
5058 pacman -Rsn python --noconfirm
@@ -127,4 +135,4 @@ docker push "pkgforge/archlinux-base:${D_TAG}"
127135docker push " ghcr.io/pkgforge/devscripts/archlinux-base:${D_TAG} "
128136docker push " pkgforge/archlinux-base:$( uname -m) "
129137docker push " ghcr.io/pkgforge/devscripts/archlinux-base:$( uname -m) "
130- # -------------------------------------------------------#
138+ # -------------------------------------------------------#
0 commit comments