Arch Linux with the paru AUR helper, Rust and cargo pre-installed. amd64 and arm64, rebuilt weekly.
6.9K
An Arch Linux container image with paru, the AUR helper, pre-installed, for building and installing AUR packages in CI or a throwaway container.
ticpu/paru and ticpu/archlinux-paru on Docker Hub, and ghcr.io/ticpu/docker-archlinux-paru. All three carry the same image.latest: the most recent build.YYYYMMDD-HHMMSS: each build, stamped with its UTC build time, for pinning a known-good image.Builds older than six months are deleted. Pin a recent build and move forward, rather than pinning one forever.
The image runs as root. makepkg refuses root, so run paru as the paru user, which has passwordless sudo:
docker run --rm -it ticpu/paru sudo -u paru paru -S --noconfirm <aur-package>
In a Containerfile, clean up in the same RUN, or the files stay in the layer. paru keeps its clones and build trees under ~/.cache/paru, and pacman -Scc --noconfirm empties nothing, since --noconfirm answers its prompt with the default, No:
FROM docker.io/ticpu/paru:latest
RUN sudo -u paru paru -S --noconfirm <aur-package> && \
rm -rf /home/paru/.cache/paru /var/cache/pacman/pkg/*
https://github.com/ticpu/docker-archlinux-paru, MIT licensed.
docker pull ticpu/archlinux-paru:latest