aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2022-11-03 23:41:32 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2022-11-03 23:41:32 +0100
commitd2f215ca094983ce4636e41071538bc881a051cb (patch)
treebda82c87806481e6f7c69a26f2fbf032df519149 /Dockerfile
parentdbec8ab1119007c0c00de40732117bec702b5fda (diff)
downloadaurbuilder-d2f215ca094983ce4636e41071538bc881a051cb.tar.gz
a
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 3f729bd..156d947 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,11 +1,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"
-COPY --chown=root:root buildpackage.sh /buildpackage.sh
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