aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
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