+[ "$(arch)" == "x86_64" ] &&
- sed -i 's#archlinuxarm/$arch/$repo#archlinux/$repo/os/$arch#g' root/etc/pacman.d/mirrorlist
how about prepare the mirrorlist files for different arch, and copy different file for different arch?
just like the follow: {CCI_SRC}/container/archlinux/ - aarch64/root/etc/pacman.d/mirrorlist - x86_64/root/etc/pacman.d/mirrorlist
good.
Thanks Yu Chuan
docker build -t archlinux:testbed .
2.23.0