gnupg post install script does "dirmngr </dev/null &>/dev/null". Since "pacman -r" does not mount any filesystems but it does chroot into the new root, /dev/null does not exist, making the script hang forever.
Create Arch Linux ARM images using multi-stage Dockerfile. This works well with binfmt emulation and allows to generate images from scratch. Inspiration taken from: - https://github.com/archlinux/archlinux-docker - https://github.com/lopsided98/archlinux