fix(build): build image rootful so sudo podman run finds it

This commit is contained in:
2026-08-16 22:27:17 +02:00
parent 4fd9b08ba9
commit 268d06be50
+4 -3
View File
@@ -7,9 +7,10 @@ set -euo pipefail
cd "$(dirname "$0")"
# 1. Ensure the build image exists
if ! podman image exists localhost/antergos-build:latest; then
podman build -t antergos-build .
# 1. Ensure the build image exists (rootful — the run step below is rootful,
# and rootless podman uses a separate image store)
if ! sudo podman image exists localhost/antergos-build:latest; then
sudo podman build -t antergos-build .
fi
# 2. Run the build (privileged, workspace mounted, tmpfs workdir, ISO exported)