aboutsummaryrefslogtreecommitdiff
path: root/debug/testrun.sh
blob: 2329cf50f60c7622af37fa7a06286e66726ef595 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

DOCKER=podman

mkdir -p testrun/pkgout

CHOWN_TO="$USER"
OUTPUT="$(pwd)/testrun/pkgout"

#./build.sh

$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:z" \
	aurbuilder

$DOCKER rm archpkg-test