mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #572] [MERGED] Fix Lite Docker install on CPU-only hosts #4675
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#4675
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/572
Author: @cha1latte
Created: 5/8/2026
Status: ✅ Merged
Merged: 5/8/2026
Merged by: @cha1latte
Base:
main← Head:fix/issue-557-lite-cpu-onnxruntime📝 Commits (1)
52231e7Fix Lite Docker install on CPU-only hosts📊 Changes
1 file changed (+6 additions, -16 deletions)
View changed files
📝
Dockerfile.lite(+6 -16)📄 Description
Linked issue
Closes #557
Why this change
Dockerfile.liteadvertised local model/runtime removal, but both dependency stages still ran normalpnpm installcommands. That allowedonnxruntime-nodeoptional postinstall scripts to run before the later cleanup step, which can fail on CPU-only hosts while trying to download GPU runtime packages.What changed
--no-optional --ignore-scriptsso optional local-model packages are not installed and their postinstall scripts cannot run.esbuildin the builder stage so the client/server build still has the native bundler package it needs.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
CI=true pnpm install --frozen-lockfile --no-optional --ignore-scriptscompleted successfully and skipped optional dependencies, matching the new Lite install mode.pnpm checkpassed locally after the Dockerfile change.docker build -f Dockerfile.lite --target builder --progress=plain -t marinara-engine-lite-issue557-builder .could not run because the Docker Desktop Linux engine was not running locally (failed to connect to the docker API at npipe:////./pipe/dockerDesktopLinuxEngine). This does not block the core install-command claim, but the full container build still needs a human/CI environment with Docker available.Docs and release impact
No docs or release metadata changes included.
UI evidence (if applicable)
N/A - Dockerfile-only build fix.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.