Merge pull request #651 from BigBodyCobain/fix/630-node-24-runtime

Move Docker images and CI to Node 24.22.1
This commit is contained in:
Shadowbroker authored and GitHub committed 2026-11-04 15:17:38 -07:00
commit 502f5f9987
3 files changed
+10 -4

No files matched your search

+2 -2
View File
@@ -40,7 +40,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 24
cache: npm
cache-dependency-path: frontend/package-lock.json
- run: npm ci
@@ -101,6 +101,6 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 24
- name: Verify portable desktop backend staging
run: node --test desktop-shell/tauri-skeleton/scripts/build-backend-runtime.test.cjs
+5 -1
View File
@@ -29,10 +29,14 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
curl \
git \
tor \
&& curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
&& curl -fsSL https://deb.nodesource.com/setup_24.x | bash - \
&& apt-get install -y --no-install-recommends nodejs \
&& rm -rf /var/lib/apt/lists/*
# Node 20 is EOL. Refuse to build on a Node runtime older than 24.22.1, the
# October 2026 security release that fixes CVE-2026-111497 (Brotli decoder).
RUN node -e "const [a,b,c]=process.versions.node.split('.').map(Number); if (a<24||(a===24&&(b<22||(b===22&&c<1)))) { console.error('Node '+process.versions.node+' is older than 24.22.1'); process.exit(1); } console.log('Node '+process.versions.node)"
# Install UV for fast, reproducible Python dependency management
ADD https://astral.sh/uv/install.sh /uv-installer.sh
RUN sh /uv-installer.sh && rm /uv-installer.sh
+3 -1
View File
@@ -1,4 +1,6 @@
FROM node:20-alpine AS base
# Node 24 LTS. Node 20 is EOL and never got the CVE-2026-111497 Brotli fix,
# which shipped in 24.22.1 (Node.js security release of 2026-10-21).
FROM node:24.22.1-alpine AS base
FROM base AS deps
RUN apk add --no-cache libc6-compat