12 lines
288 B
Bash
Executable File
12 lines
288 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
cd "$(dirname "$0")"
|
|
cd ..
|
|
echo $PWD
|
|
mkdir -p outputs/root
|
|
cat ./config/filesystem_containerfile | /usr/bin/podman build -f - -t patronagefs:latest .
|
|
podman run --rm -it --volume ./outputs/root:/tmp/rootfs/:exec --name patronagefs patronagefs:latest
|
|
echo 'exported.'
|
|
|
|
|