Skip to content

Commit 6d0a1c3

Browse files
committed
Experiment: build the image on Node 26
1 parent d379f7e commit 6d0a1c3

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

‎.github/workflows/e2e-image.yml‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,13 @@ jobs:
101101
sleep 30
102102
done
103103
104+
- name: Show the engine's Node requirement
105+
run: |
106+
docker run --rm -v socket-cache:/c --entrypoint sh "$IMAGE" -c '
107+
node --version
108+
find /c -maxdepth 6 -name package.json | head -20
109+
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'
110+
104111
- name: Validate results
105112
run: >-
106113
docker run --rm -v "$PWD:/repo" -v /tmp/e2e-output.log:/tmp/e2e-output.log:ro -w /repo

‎Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Node.js from the official Alpine image instead of Alpine's nodejs package, which
22
# lags Node's security releases. Match the major version to what reachability needs
33
# and the Alpine release to the python:3-alpine base below.
4-
FROM node:24-alpine3.24 AS node
4+
FROM node:26-alpine3.24 AS node
55

66
FROM python:3-alpine
77
LABEL org.opencontainers.image.authors="socket.dev"

0 commit comments

Comments
 (0)