mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #621] [Issue]: Sprite generation unavailable on Lite Docker builds: sharp native module not loaded due to --ignore-scripts #289
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#289
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?
Originally created by @Gunterlie on GitHub (May 9, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/621
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Sprite generation is broken on Lite Docker builds. The
sharpnative modulefails to load because
Dockerfile.liteuses--ignore-scriptsto preventonnxruntime CUDA downloads, but this also blocks
sharp's postinstall scriptwhich installs its native binary.
Expected behavior
Sprite generation works on Lite Docker builds.
sharpis not a local-modeldependency and should be fully functional in the Lite image.
Actual behavior
The following warning appears on startup and sprite generation is disabled:
Steps to reproduce
docker build -f Dockerfile.lite -t marinara-engine:lite .Environment
b3fce6c)Logs, screenshots, or video
Additional context
Root cause:
Dockerfile.litecurrently rebuildsesbuildandrollupafter
--ignore-scripts(via PRs #572 and #596), butsharpwas not included.Commit
b3fce6cintroduced sprite generation which now depends onsharpforimage processing — making this a regression on Lite builds.
Fix: Add
sharpto the rebuild line in Dockerfile.lite:Related: #572, #596
Template check
@SpicyMarinara commented on GitHub (May 10, 2026):
Implemented for v1.5.9. Lite Docker now rebuilds
sharpafter the scriptless dependency install, alongsideesbuildandrollup, so sprite/background image processing can load in Lite images. Added the fix to CHANGELOG.md and validated withpnpm check.