cache-apt-pkgs-action/.github/act/Dockerfile
awalsh128 0bada9deed Add local act CI runner and document @latest-v2
Add an .actrc, runner Dockerfile, push event payload, and
scripts/dev/act_ci.sh to run ci.yml jobs locally with nektos/act.
The script refuses --bind/--reuse in .actrc, since a bound checkout
runs as root and rewrites ownership and modes in the working tree.

Document the @latest-v2 version label in the README.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 09:16:44 -07:00

19 lines
393 B
Docker

FROM ghcr.io/catthehacker/ubuntu:act-latest
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
# Keep local runner dependencies explicit so act behavior stays close to ubuntu-latest.
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
ca-certificates \
curl \
git \
gnupg \
jq \
lsb-release \
sudo \
unzip \
wget \
xz-utils \
&& rm -rf /var/lib/apt/lists/*