aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
blob: 156d94752d67814b3cd0ada3ddf54b836c4d0b3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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