+[ "$(arch)" == "x86_64" ] &&
- sed -i 's/archlinuxarm/$arch/$repo/archlinux/$repo/os/$arch/g' root/etc/pacman.d/mirrorlist
you can consider sed -i "" replace ''
'$' in sed command, " will cause replace failed, must use '.
Thanks, Yinsi
Thanks, Shenwei
docker build -t archlinux:testbed .
2.23.0