1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#!/bin/bash mkdir -p testrun/pkgout CHOWN_TO="$USER" OUTPUT="$(pwd)/testrun/pkgout" ./build.sh docker run --name archpkg-test --env PACKAGE_NAME=minipro \ --env FORCE_REBUILD=yes --env CHOWN="$(id -u "$CHOWN_TO"):$(id -g "$CHOWN_TO")" \ -v "$OUTPUT:/pkgout" \ archpkg docker rm archpkg-test