aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2022-11-03 23:21:05 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2022-11-03 23:21:05 +0100
commitdbec8ab1119007c0c00de40732117bec702b5fda (patch)
tree33278edfd44f45ce3791c10ac83b021940e1449d /Dockerfile
downloadaurbuilder-dbec8ab1119007c0c00de40732117bec702b5fda.tar.gz
init
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..3f729bd
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,11 @@
+FROM archlinux:base-devel
+
+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
+
+CMD /buildpackage.s $PACKAGE_URL