Files
patronageos/scripts/build_filesystem.sh
2025-12-04 09:48:10 -07:00

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.'