+ARG ARCH
+COPY root/$ARCH /
+docker build --build-arg arch=$(arch) -t archlinux:testbed .
^ ARCH
index 0000000..556fac8 --- /dev/null +++ b/container/archlinux/root/x86_64/etc/pacman.d/mirrorlist @@ -0,0 +1 @@ +Server = http://mirrors.tuna.tsinghua.edu.cn/archlinux/$repo/os/$arch
not here, mirrorlist is $arch.
Thanks, Yinsi
^ $ARCH
Thanks, Zhangyu
-- 2.23.0