chiaki/scripts/run-podman-build-appimage.sh
2025-06-25 16:56:44 +02:00

16 lines
352 B
Bash
Executable file

#!/bin/bash
set -xe
cd "`dirname $(readlink -f ${0})`"
podman build --arch amd64 -t localhost/chiaki-noble . -f Dockerfile.noble
cd ..
podman run --rm \
--arch amd64 \
-v "`pwd`:/build/chiaki" \
-w "/build/chiaki" \
--device /dev/fuse \
--cap-add SYS_ADMIN \
-t localhost/chiaki-noble \
/bin/bash -c "scripts/build-appimage.sh /build/appdir"