FROM archlinux:latest RUN pacman -Sy --noconfirm \ base-devel \ glibc \ git \ sudo \ python-commonmark \ pyalpm \ && mkdir /build VOLUME ["/var/lib/pacman", "/var/cache/pacman"] WORKDIR /build RUN git clone https://aur.archlinux.org/pikaur.git \ && cd pikaur \ && makepkg -fsri --noconfirm ENTRYPOINT ["/usr/bin/pikaur"] CMD []