fix(build): override container ENTRYPOINT so sh runs the build script

This commit is contained in:
2026-08-16 22:41:40 +02:00
parent 268d06be50
commit 9450280214
+2 -2
View File
@@ -14,11 +14,11 @@ if ! sudo podman image exists localhost/antergos-build:latest; then
fi
# 2. Run the build (privileged, workspace mounted, tmpfs workdir, ISO exported)
sudo podman run --rm --privileged \
sudo podman run --rm --privileged --entrypoint sh \
-v "$(pwd):/workspace" \
-e WORKSPACE_DIR=/workspace \
-e INITSYS=dinit \
localhost/antergos-build:latest sh -c '
localhost/antergos-build:latest -c '
set -euo pipefail
mkdir -p /var/lib/artools/buildiso
mount -t tmpfs -o size=12G,exec,suid,dev tmpfs /var/lib/artools/buildiso