From 71f1f876ae1f6dd9947d3cf2b7481b09e6a295a8 Mon Sep 17 00:00:00 2001 From: chaodu-agent <274062505+chaodu-agent@users.noreply.github.com> Date: Sun, 15 Nov 2026 16:04:05 -0500 Subject: [PATCH] build(docker): bump Node.js to 22.23.5 / 24.22.3 (security) Bump the Node.js base image pins for the Node.js security release reported in #1598: - ARG NODE22_VERSION 22.23.4 -> 22.23.5 - ARG NODE24_VERSION 24.22.1 -> 24.22.3 Files (from `git grep -lE 'ARG NODE[0-9]+_VERSION' -- 'Dockerfile*'`): Dockerfile.claude, .codex, .copilot, .gemini, .mimocode, .opencode, .pi (NODE22 only); Dockerfile.kimi (NODE24 only); Dockerfile.package and Dockerfile.unified (both). 12 ARG lines, nothing else changed. Nested Dockerfiles (agentcore/runtimes/kiro, openab-auth-proxy, openshell) have no Node pin. The rust:1-bookworm builder digest is unchanged. Checks run (no local image build; CI builds and smoke-tests): - `git grep -nE '22\.23\.4|24\.22\.1'` after the bump: no matches. - Checksums: the Node pins are image tags (`FROM node:${NODE_VERSION} -trixie-slim`) with no SHASUM or digest beside them, so none to update. Looked up nodejs.org/dist/v22.23.5/SHASUMS256.txt and v24.22.3/SHASUMS256.txt for the record (linux-x64.tar.xz: cdeb8670...40f8 / 4f2b175a...fcfb). Docker Hub has node:22.23.5-trixie-slim (sha256:68c76cfa...2b64) and node:24.22.3-trixie-slim (sha256:af02d57b...24a0). - Smoke-test version source verified: docker-smoke-test.yml and docker-smoke-test-unified.yml "Verify Node.js runtime version" get the ARG name from .github/scripts/node_base_arg.sh and the expected version by awk on `ARG =` in the Dockerfile under test, then compare with `node --version`. validate-packaged-pins requires every Node Dockerfile to carry Dockerfile.unified's exact pin line. No workflow edit needed. - .github/scripts/test_node_base_arg.sh: all tests passed. - Pin parity (`node_base_arg.sh --check` on all tracked Dockerfiles, each pin matched against Dockerfile.unified): 12/12 ok. Refs #1598 --- Dockerfile.claude | 2 +- Dockerfile.codex | 2 +- Dockerfile.copilot | 2 +- Dockerfile.gemini | 2 +- Dockerfile.kimi | 2 +- Dockerfile.mimocode | 2 +- Dockerfile.opencode | 2 +- Dockerfile.package | 4 ++-- Dockerfile.pi | 2 +- Dockerfile.unified | 4 ++-- 10 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Dockerfile.claude b/Dockerfile.claude index a5ac97dc3..ace2d674e 100644 --- a/Dockerfile.claude +++ b/Dockerfile.claude @@ -1,6 +1,6 @@ # Pinned so the shipped Node.js version is explicit; bump it on Node security # releases. Passing just the major (e.g. NODE22_VERSION=22) floats to the latest. -ARG NODE22_VERSION=22.23.4 +ARG NODE22_VERSION=22.23.5 # --- Build stage --- FROM rust:1-bookworm AS builder diff --git a/Dockerfile.codex b/Dockerfile.codex index 41a563464..a602b7af9 100644 --- a/Dockerfile.codex +++ b/Dockerfile.codex @@ -1,6 +1,6 @@ # Pinned so the shipped Node.js version is explicit; bump it on Node security # releases. Passing just the major (e.g. NODE22_VERSION=22) floats to the latest. -ARG NODE22_VERSION=22.23.4 +ARG NODE22_VERSION=22.23.5 # --- Build stage --- FROM rust:1-bookworm AS builder diff --git a/Dockerfile.copilot b/Dockerfile.copilot index ad294ca73..45e7bec28 100644 --- a/Dockerfile.copilot +++ b/Dockerfile.copilot @@ -1,6 +1,6 @@ # Pinned so the shipped Node.js version is explicit; bump it on Node security # releases. Passing just the major (e.g. NODE22_VERSION=22) floats to the latest. -ARG NODE22_VERSION=22.23.4 +ARG NODE22_VERSION=22.23.5 # --- Build stage --- FROM rust:1-bookworm AS builder diff --git a/Dockerfile.gemini b/Dockerfile.gemini index aa998cf74..bec0ec991 100644 --- a/Dockerfile.gemini +++ b/Dockerfile.gemini @@ -1,6 +1,6 @@ # Pinned so the shipped Node.js version is explicit; bump it on Node security # releases. Passing just the major (e.g. NODE22_VERSION=22) floats to the latest. -ARG NODE22_VERSION=22.23.4 +ARG NODE22_VERSION=22.23.5 # --- Build stage --- FROM rust:1-bookworm AS builder diff --git a/Dockerfile.kimi b/Dockerfile.kimi index e43b987d1..fd5fcb8c3 100644 --- a/Dockerfile.kimi +++ b/Dockerfile.kimi @@ -1,6 +1,6 @@ # Pinned so the shipped Node.js version is explicit; bump it on Node security # releases. Passing just the major (e.g. NODE24_VERSION=24) floats to the latest. -ARG NODE24_VERSION=24.22.1 +ARG NODE24_VERSION=24.22.3 # --- Build stage --- FROM rust:1-bookworm AS builder diff --git a/Dockerfile.mimocode b/Dockerfile.mimocode index 34b344cd9..84d41e462 100644 --- a/Dockerfile.mimocode +++ b/Dockerfile.mimocode @@ -1,6 +1,6 @@ # Pinned so the shipped Node.js version is explicit; bump it on Node security # releases. Passing just the major (e.g. NODE22_VERSION=22) floats to the latest. -ARG NODE22_VERSION=22.23.4 +ARG NODE22_VERSION=22.23.5 # --- Build stage --- FROM rust:1-bookworm AS builder diff --git a/Dockerfile.opencode b/Dockerfile.opencode index e5c2ba67e..7448f81cd 100644 --- a/Dockerfile.opencode +++ b/Dockerfile.opencode @@ -1,6 +1,6 @@ # Pinned so the shipped Node.js version is explicit; bump it on Node security # releases. Passing just the major (e.g. NODE22_VERSION=22) floats to the latest. -ARG NODE22_VERSION=22.23.4 +ARG NODE22_VERSION=22.23.5 # --- Build stage --- FROM rust:1-bookworm AS builder diff --git a/Dockerfile.package b/Dockerfile.package index 854dc29a7..608ea15ee 100644 --- a/Dockerfile.package +++ b/Dockerfile.package @@ -8,8 +8,8 @@ # Pinned so the shipped Node.js version is explicit; bump it on Node security # releases. Nightly passes just the major (22 / 24) to float to the latest. -ARG NODE22_VERSION=22.23.4 -ARG NODE24_VERSION=24.22.1 +ARG NODE22_VERSION=22.23.5 +ARG NODE24_VERSION=24.22.3 # ============================================================================= # Stage: bins — pre-built binaries passed in via build context diff --git a/Dockerfile.pi b/Dockerfile.pi index d8c6fff71..bbbbf926c 100644 --- a/Dockerfile.pi +++ b/Dockerfile.pi @@ -1,6 +1,6 @@ # Pinned so the shipped Node.js version is explicit; bump it on Node security # releases. Passing just the major (e.g. NODE22_VERSION=22) floats to the latest. -ARG NODE22_VERSION=22.23.4 +ARG NODE22_VERSION=22.23.5 # --- Build stage --- FROM rust:1-bookworm AS builder diff --git a/Dockerfile.unified b/Dockerfile.unified index 1de976f11..ffa99411a 100644 --- a/Dockerfile.unified +++ b/Dockerfile.unified @@ -16,8 +16,8 @@ ARG BUILDER_IMAGE=local_builder # Pinned so the shipped Node.js version is explicit; bump it on Node security # releases. Passing just the major (e.g. NODE22_VERSION=22) floats to the latest. -ARG NODE22_VERSION=22.23.4 -ARG NODE24_VERSION=24.22.1 +ARG NODE22_VERSION=22.23.5 +ARG NODE24_VERSION=24.22.3 # ============================================================================= # Stage: local_builder — compile openab binary (unified mode)