feat: Node.js 24 and 26 images; refuse builds below the Oct 2026 security floor
- One install-node.sh <major> replaces install-node{18,20,22}.sh. It fails the
build if NodeSource hands back a version below the newest security release
for the line (22.23.4 / 24.22.1 / 26.12.1: CVE-2026-111497 Brotli OOB write
and 9 others), so a lagging mirror can't ship a vulnerable image silently.
18 and 20 are EOL: they still build, with a warning.
- CI matrix adds 24 and 26; fail-fast off so one line can't cancel the rest.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
a1364d7d52
commit
ae6acdd009
8 files changed
+42
-26
No files matched your search
@@ -4,7 +4,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
|
||||
|
||||
## Project Overview
|
||||
|
||||
Cloud Node Container (CNOC) is a Docker-based Node.js hosting environment that supports multiple Node.js versions (18, 20, 22) with Nginx reverse proxy, designed for both local development and production deployment.
|
||||
Cloud Node Container (CNOC) is a Docker-based Node.js hosting environment that supports multiple Node.js versions (18, 20, 22, 24, 26) with Nginx reverse proxy, designed for both local development and production deployment.
|
||||
|
||||
## Common Development Commands
|
||||
|
||||
@@ -63,7 +63,7 @@ docker run -d -p 80:80 -p 443:443 \
|
||||
- **PROD** (default): Expects external services, optimized for production
|
||||
|
||||
3. **Node.js Version Management**:
|
||||
- Controlled via `NODEVER` environment variable (18, 20, 22)
|
||||
- Controlled via `NODEVER` environment variable (18, 20, 22, 24, 26)
|
||||
- Each version has dedicated install script in `/scripts/`
|
||||
- PM2 ecosystem configuration adapts to user paths
|
||||
|
||||
|
||||
Reference in new issue
Block a user