From 7f698caa7cacdd1c8b2744cfa2cf49e05c66aed9 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Fri, 14 Jul 2023 16:17:07 +0200 Subject: uding podman now --- testrun.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'testrun.sh') 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 -- cgit v1.2.3