From fc08133ab23ba8ff4608e46a411b7ca1a2824e12 Mon Sep 17 00:00:00 2001 From: GRAB Racem Date: Tue, 3 Nov 2026 23:26:50 +0100 Subject: [PATCH] fix(docker): install Node 22 in the runtime image The image installed Node 20 from NodeSource, which is end-of-life. CI and the release workflow already build the frontend with Node 22; the runtime image (Playwright MCP/CLI, npx-based MCP servers) now uses the same major. --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ed4ed80..b0596a3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,11 +14,12 @@ FROM python:3.12-slim-bookworm ARG TARGETARCH # Common tools: ripgrep / curl / vim, plus a set of recon staples (add/remove as needed). -# Node 20.x comes from NodeSource: bookworm's apt nodejs is 18, but Playwright requires >=20. +# Node 22.x comes from NodeSource: bookworm's apt nodejs is 18, Playwright requires >=20, +# and 20 is end-of-life. 22 matches the CI and release workflows. RUN apt-get update && apt-get install -y --no-install-recommends \ ca-certificates ripgrep curl wget vim git jq unzip \ dnsutils iputils-ping netcat-openbsd inetutils-telnet whois nmap \ - && curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \ + && curl -fsSL https://deb.nodesource.com/setup_22.x | bash - \ && apt-get install -y --no-install-recommends nodejs \ && rm -rf /var/lib/apt/lists/* # Web-recon toolbox (drost-community take 1, #100): pinned release binaries installed