Files
computer-playbook/scripts/tests/deploy/act/build_runner_image.sh
T
kevinveenbirkenbachandClaude Opus 4.8 761450363b feat(make): add act-runner-image target for Docker-28/29 act runs
Recent Docker tightened docker cp tar extraction, so act aborts at job setup when the stock catthehacker runner image's /var/run symlink is unpacked into. Add a make act-runner-image target that builds local/act-runner-fixed (stock image with /var/run removed); pass it via ACT_PLATFORM_IMAGE. Document the symptom + fix in iteration/workflow.md and cross-reference from playwright.md and README.md.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-20 12:16:49 +02:00

10 lines
465 B
Bash
Executable File

#!/usr/bin/env bash
# Build local/act-runner-fixed: the stock catthehacker act runner image with
# /var/run removed, so a recent Docker engine (28/29+) accepts act's job-setup
# content copy into /var/run/act instead of rejecting it as a path that escapes
# the /var/run -> /run symlink. Pass it to act via ACT_PLATFORM_IMAGE.
set -euo pipefail
printf 'FROM catthehacker/ubuntu:act-latest\nRUN rm -rf /var/run\n' |
docker build -t local/act-runner-fixed:latest -