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