diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2023-07-14 16:17:07 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2023-07-14 16:17:07 +0200 |
commit | 7f698caa7cacdd1c8b2744cfa2cf49e05c66aed9 (patch) | |
tree | 1a34e24aea969b680a1d23dbe518dc767a656bf4 /testrun.sh | |
parent | 1bfc28926f4da9af6a783a4f0603c39f1627553f (diff) | |
download | aurbuilder-7f698caa7cacdd1c8b2744cfa2cf49e05c66aed9.tar.gz |
uding podman now
Diffstat (limited to 'testrun.sh')
-rwxr-xr-x | testrun.sh | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -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 |