fix(build): override container ENTRYPOINT so sh runs the build script
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user