aboutsummaryrefslogtreecommitdiff
path: root/testrun.sh
blob: b8caf3796a5dd9fe25a3f20c58198b29b126b5e9 (plain)
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