Skip to content

Upgrade ulixee-cloud Docker base from Node 18 to Node 24 LTS - #220

Open
Luen wants to merge 2 commits into
ulixee:mainfrom
Luen:chore/ulixee-cloud-node-24
Open

Upgrade ulixee-cloud Docker base from Node 18 to Node 24 LTS#220
Luen wants to merge 2 commits into
ulixee:mainfrom
Luen:chore/ulixee-cloud-node-24

Conversation

@Luen

@Luen Luen commented Aug 7, 2026

Copy link
Copy Markdown

Summary

  • Bump cloud/tools/docker/Dockerfile from node:18-slim to node:24-slim (current Active LTS / Krypton).
  • Update Debian package setup for Bookworm: enable contrib/non-free via DEB822 sources, replace removed ttf-wqy-zenhei with fonts-wqy-zenhei, drop the dead Buster apt mirror.
  • Install python3/make/g++ so native modules like better-sqlite3 can compile when Node 24 prebuilds are not yet available.

Fixes #219

Why

Node 18 is EOL. Downstream images based on ghcr.io/ulixee/ulixee-cloud cannot upgrade to sharp@0.35+ (requires Node >=20.9), which is needed to clear known libvips CVEs (CVE-2026-33327, CVE-2026-33328, CVE-2026-35590, CVE-2026-35591).

Test plan

Locally built and verified ulixee-cloud:node24-test with @ulixee/cloud@2.0.0-alpha.34:

  • docker build succeeds on node:24-slim
  • Image reports node v24.19.0
  • better-sqlite3 loads successfully
  • sharp@0.35.3 installs and encodes a PNG inside the image
  • npx @ulixee/cloud start --port=1818 starts and logs Ulixee Cloud listening at localhost:1818

Luen and others added 2 commits August 7, 2026 10:22
Node 18 is EOL and blocks dependents from upgrading packages that require
Node >=20 (e.g. sharp@0.35+). Also update Debian apt setup for bookworm
(replace dead buster repo / ttf-wqy-zenhei) and install build tools so
better-sqlite3 can compile when Node 24 prebuilds are unavailable.

Fixes ulixee#219

Co-authored-by: Cursor <cursoragent@cursor.com>
Shell-form CMD wraps the process in sh, which can swallow SIGTERM.

Co-authored-by: Cursor <cursoragent@cursor.com>
@Luen
Luen force-pushed the chore/ulixee-cloud-node-24 branch from 500f7d0 to 3dcee11 Compare August 7, 2026 00:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade ulixee-cloud Docker base from Node 18 to a current LTS (22/24)

1 participant