Base Docker image for building, testing, & publishing Arch packages to the AUR.
Published tags older than 14 days (except latest / master / main) are pruned automatically from Docker Hub and GHCR. See .github/WORKFLOW_SETUP.md for retention details and dry-run instructions.
The following is a sample Dockerfile that could be used to test the python-conda AUR package.
FROM brianrobt/archlinux-aur-dev:latest
# Copy local AUR package files to the container
COPY --chown=builder:builder .SRCINFO PKGBUILD ./
# Install build dependencies. Example for python-conda:
RUN yay -S --noconfirm \
python \
python-archspec \
python-boltons \
python-boto3 \
python-botocore \
python-conda-package-handling \
python-conda-libmamba-solver \
python-platformdirs \
python-pluggy>=1.0.0 \
python-pycosat>=0.6.3 \
python-requests>=2.20.1 \
python-ruamel-yaml>=0.11.14 \
python-tqdm
# Build the package
RUN makepkg -si --noconfirm
# Test the package was installed successfully
RUN python -c "import conda; print('Package successfully installed!')"
