FROM archlinux:base-devel RUN pacman --noconfirm -Syu ARG AUR_RPC_BASE_URL="https://aur.archlinux.org/rpc/v5" ARG PACKAGE_NAME="" ARG BUILD_ALL_AUR_DEPENDS="no" RUN mkdir /pkgout VOLUME /pkgout RUN pacman --noconfirm -S python python-requests COPY --chown=root:root buildpackage.sh /buildpackage.sh CMD /buildpackage.s $PACKAGE_URL