blob: 65fc722f74a6a029b4996f63213fd599695aab32 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/bash
DOCKER=podman
mkdir -p testrun/pkgout
CHOWN_TO="$USER"
OUTPUT="$(pwd)/testrun/pkgout"
#./build.sh
#--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:z" \
archpkg
$DOCKER rm archpkg-test
|