FROM localhost/archlinux:fullbase RUN pacman -Sy --noconfirm archlinux-keyring RUN pacman -Suy --noconfirm COPY root/etc /etc COPY builder.pgp.pub / RUN pacman-key -a /builder.pgp.pub RUN rm -vf /builder.pgp.pub /etc/os-release RUN pacman -Sy RUN pacman -Rdd --noconfirm systemd systemd-libs systemd-sysvcompat base RUN pacman -S --noconfirm halt-ubase-git sinit-spark sinit-sysvcompat sinit-tools spark-etc spark-rc ssm ssm-service ssm-services-git systemd-dummy udev-dummy systemd-libs-systemd systemd-libs-udev RUN rm -vf /var/cache/pacman/pkg/* RUN pacman -Scc --noconfirm