From e41cbe8cb9c2ade427ffc80466293b671e51a1d6 Mon Sep 17 00:00:00 2001 From: Erich Blume Date: Wed, 11 Feb 2026 17:33:41 -0800 Subject: [PATCH] Restore Node.js to runner image for JavaScript Actions actions/checkout@v4 and other JS-based Actions require Node.js in the job container. The Phase 3 simplification accidentally removed it. Uses Node 20 LTS via nodesource. Co-Authored-By: Claude Opus 4.6 --- containers/forgejo-runner/Dockerfile | 7 +++++++ docs/changelog.d/fix-runner-node.bugfix.md | 1 + 2 files changed, 8 insertions(+) create mode 100644 docs/changelog.d/fix-runner-node.bugfix.md diff --git a/containers/forgejo-runner/Dockerfile b/containers/forgejo-runner/Dockerfile index be569ed..1661db9 100644 --- a/containers/forgejo-runner/Dockerfile +++ b/containers/forgejo-runner/Dockerfile @@ -18,10 +18,17 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ ca-certificates \ curl \ git \ + gnupg \ jq \ tzdata \ && rm -rf /var/lib/apt/lists/* +# Install Node.js (required by actions/checkout and other JavaScript Actions) +RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \ + && apt-get install -y --no-install-recommends nodejs \ + && rm -rf /var/lib/apt/lists/* \ + && node --version + # Install uv (Python package runner for towncrier) RUN curl -LsSf https://astral.sh/uv/install.sh | sh \ && mv /root/.local/bin/uv /usr/local/bin/uv \ diff --git a/docs/changelog.d/fix-runner-node.bugfix.md b/docs/changelog.d/fix-runner-node.bugfix.md new file mode 100644 index 0000000..8b9456f --- /dev/null +++ b/docs/changelog.d/fix-runner-node.bugfix.md @@ -0,0 +1 @@ +Restore Node.js to Forgejo runner image — required by ``actions/checkout@v4`` and other JavaScript Actions that were broken by the Phase 3 simplification.