aboutsummaryrefslogtreecommitdiff
path: root/testrun.sh
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2023-07-14 16:17:07 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2023-07-14 16:17:07 +0200
commit7f698caa7cacdd1c8b2744cfa2cf49e05c66aed9 (patch)
tree1a34e24aea969b680a1d23dbe518dc767a656bf4 /testrun.sh
parent1bfc28926f4da9af6a783a4f0603c39f1627553f (diff)
downloadaurbuilder-7f698caa7cacdd1c8b2744cfa2cf49e05c66aed9.tar.gz
uding podman now
Diffstat (limited to 'testrun.sh')
-rwxr-xr-xtestrun.sh11
1 files changed, 7 insertions, 4 deletions
diff --git a/testrun.sh b/testrun.sh
index b8caf37..65fc722 100755
--- a/testrun.sh
+++ b/testrun.sh
@@ -1,15 +1,18 @@
#!/bin/bash
+DOCKER=podman
+
mkdir -p testrun/pkgout
CHOWN_TO="$USER"
OUTPUT="$(pwd)/testrun/pkgout"
-./build.sh
+#./build.sh
-docker run --name archpkg-test --env PACKAGE_NAME=minipro \
+#--userns=nomap
+$DOCKER run --userns=host --name archpkg-test --env PACKAGE_NAME=minipro \
--env FORCE_REBUILD=yes --env CHOWN="$(id -u "$CHOWN_TO"):$(id -g "$CHOWN_TO")" \
- -v "$OUTPUT:/pkgout" \
+ -v "$OUTPUT:/pkgout:z" \
archpkg
-docker rm archpkg-test
+$DOCKER rm archpkg-test