ARG BASEIMAGE=localhost/spark FROM $BASEIMAGE COPY ./mirrorlist /etc/pacman.d/mirrorlist COPY gnupg /.gnupg COPY ./build /build # No landlock in containers RUN sed -ri 's/^#DisableSandboxFilesystem/DisableSandboxFilesystem/' /etc/pacman.conf RUN pacman -Sy --noconfirm archlinux-keyring RUN pacman -Rdd --noconfirm systemd-libs-systemd systemd-libs-udev RUN pacman -Suy --noconfirm base-devel nodejs git systemd-libs RUN chmod 700 /.gnupg