aboutsummaryrefslogtreecommitdiff
path: root/scripts/build_container.sh
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2023-07-16 19:20:22 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2023-07-16 19:20:22 +0200
commitfb4656956c2e6fa726aef3946b5cdac5e7b92ee1 (patch)
tree9f20040f6ff194413ea94216d9aabcb1393d0448 /scripts/build_container.sh
parentd75adf324cb1badb832b7c65bf9ffbaafe115bc1 (diff)
downloadaurbuilder-fb4656956c2e6fa726aef3946b5cdac5e7b92ee1.tar.gz
unitfiles and scripts
Diffstat (limited to 'scripts/build_container.sh')
-rwxr-xr-xscripts/build_container.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/build_container.sh b/scripts/build_container.sh
new file mode 100755
index 0000000..614d34c
--- /dev/null
+++ b/scripts/build_container.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+PODMAN=$(which podman)
+DIR=${DIR:-/usr/share/aurbuilder}
+
+$PODMAN pull archlinux:base-devel
+$PODMAN build --no-cache -t aurbuilder "$DIR"