Upgrade ulixee-cloud Docker base from Node 18 to Node 24 LTS - #220
Open
Luen wants to merge 2 commits into
Open
Conversation
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>
5 tasks
Luen
force-pushed
the
chore/ulixee-cloud-node-24
branch
from
August 7, 2026 00:55
500f7d0 to
3dcee11
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
cloud/tools/docker/Dockerfilefromnode:18-slimtonode:24-slim(current Active LTS / Krypton).contrib/non-freevia DEB822 sources, replace removedttf-wqy-zenheiwithfonts-wqy-zenhei, drop the dead Buster apt mirror.python3/make/g++so native modules likebetter-sqlite3can compile when Node 24 prebuilds are not yet available.Fixes #219
Why
Node 18 is EOL. Downstream images based on
ghcr.io/ulixee/ulixee-cloudcannot upgrade tosharp@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-testwith@ulixee/cloud@2.0.0-alpha.34:docker buildsucceeds onnode:24-slimnode v24.19.0better-sqlite3loads successfullysharp@0.35.3installs and encodes a PNG inside the imagenpx @ulixee/cloud start --port=1818starts and logsUlixee Cloud listening at localhost:1818