ARG BASEIMAGE=localhost/spark FROM $BASEIMAGE RUN pacman -Suy --noconfirm base-devel # cache COPY gnupg /.gnupg COPY ./build /build COPY ./mirrorlist /etc/pacman.d/mirrorlist RUN chmod 700 /.gnupg