mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #185] [MERGED] feat: Add Wolfi Lite container image #4495
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#4495
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/185
Author: @coxde
Created: 4/22/2026
Status: ✅ Merged
Merged: 4/22/2026
Merged by: @coxde
Base:
main← Head:feat/wolfi📝 Commits (3)
4be1de0feat(lite): Add Wolfi Lite Dockerfile and gate local-only featuresb25fa78ci(container): Add workflow to build and publish lite imagebfa87a3docs(install): Document lite container image usage and features📊 Changes
11 files changed (+362 additions, -14 deletions)
View changed files
➕
.github/workflows/build-container-lite.yml(+163 -0)➕
Dockerfile.lite(+129 -0)📝
docs/installation/containers.md(+44 -2)📝
packages/client/src/App.tsx(+3 -2)📝
packages/client/src/components/agents/AgentEditor.tsx(+3 -1)📝
packages/client/src/components/chat/ChatSettingsDrawer.tsx(+3 -3)📝
packages/client/src/components/panels/ConnectionsPanel.tsx(+1 -1)📝
packages/server/src/app.ts(+7 -4)📝
packages/server/src/routes/index.ts(+3 -1)📝
packages/server/src/services/local-embedder.ts(+3 -0)📝
packages/server/src/services/memory-recall.ts(+3 -0)📄 Description
This pull request introduces a new "lite" container image variant for Marinara Engine, focused on reducing image size and attack surface by removing heavy native dependencies and features that require them. It includes a new
Dockerfile.liteand a dedicated GitHub Actions workflow for building and publishing the lite image. The application code (both server and client) is updated to detect and gracefully disable features not available in the lite build, such as local model hosting, local embedding, and memory recall. Documentation is also updated to describe the lite image, its trade-offs, and usage instructions.Containerization & Build System:
.github/workflows/build-container-lite.yml) to build and publish a multi-arch "lite" container image on versioned release tags, using a minimal Wolfi Linux base and aggressively stripping heavy native dependencies.Dockerfile.lite, a three-stage build that omits local model hosting, embedding models, and certain native modules, resulting in a significantly smaller image.Documentation:
docs/installation/containers.mdto document the lite image, its differences, and how to use or build it, including a feature comparison table and usage notes. [1] [2] [3]Server-Side Feature Gating:
MARINARA_LITEenvironment variable in server code. Sidecar model routes, local embedding, and memory recall features are disabled or bypassed in lite mode. [1] [2] [3] [4] [5] [6] [7]Client-Side Feature Gating:
VITE_MARINARA_LITEbuild-time variable and hides or disables UI elements related to local models, local embedding, and memory recall when running in lite mode. [1] [2] [3] [4] [5] [6] [7] [8]🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.