aboutsummaryrefslogtreecommitdiff
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
downloadaurbuilder-dbec8ab1119007c0c00de40732117bec702b5fda.tar.gz
init
-rw-r--r--Dockerfile11
-rwxr-xr-xbuild.sh3
-rwxr-xr-xbuildpackage.sh4
3 files changed, 18 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
diff --git a/build.sh b/build.sh
new file mode 100755
index 0000000..85a3a95
--- /dev/null
+++ b/build.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+docker build -t archpkg .
diff --git a/buildpackage.sh b/buildpackage.sh
new file mode 100755
index 0000000..87c31a4
--- /dev/null
+++ b/buildpackage.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+
+echo Building OwO