From 6d0a1c3e3aea4bd5ed388b074ae4feb62d8a360c Mon Sep 17 00:00:00 2001 From: lelia <2418071+lelia@users.noreply.github.com> Date: Fri, 6 Nov 2026 17:07:05 -0600 Subject: [PATCH] Experiment: build the image on Node 26 --- .github/workflows/e2e-image.yml | 7 +++++++ Dockerfile | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/e2e-image.yml b/.github/workflows/e2e-image.yml index 1daeb22..aa76062 100644 --- a/.github/workflows/e2e-image.yml +++ b/.github/workflows/e2e-image.yml @@ -101,6 +101,13 @@ jobs: sleep 30 done + - name: Show the engine's Node requirement + run: | + docker run --rm -v socket-cache:/c --entrypoint sh "$IMAGE" -c ' + node --version + find /c -maxdepth 6 -name package.json | head -20 + for f in $(find /c -maxdepth 6 -name package.json); do echo "$f"; node -e "const p=require(process.argv[1]); console.log(p.name, p.version, JSON.stringify(p.engines))" "$f"; done' + - name: Validate results run: >- docker run --rm -v "$PWD:/repo" -v /tmp/e2e-output.log:/tmp/e2e-output.log:ro -w /repo diff --git a/Dockerfile b/Dockerfile index 23654b6..03f415e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # Node.js from the official Alpine image instead of Alpine's nodejs package, which # lags Node's security releases. Match the major version to what reachability needs # and the Alpine release to the python:3-alpine base below. -FROM node:24-alpine3.24 AS node +FROM node:26-alpine3.24 AS node FROM python:3-alpine LABEL org.opencontainers.image.authors="socket.dev"