From dbec8ab1119007c0c00de40732117bec702b5fda Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Thu, 3 Nov 2022 23:21:05 +0100 Subject: init --- Dockerfile | 11 +++++++++++ build.sh | 3 +++ buildpackage.sh | 4 ++++ 3 files changed, 18 insertions(+) create mode 100644 Dockerfile create mode 100755 build.sh create mode 100755 buildpackage.sh 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 -- cgit v1.2.3