Skip to content

feat: ⚠️ reduce images size and stop bundling sources #5721

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mudler
Copy link
Owner

@mudler mudler commented Jun 25, 2025

Do not copy sources anymore, and reduce packages of the base images by not using builder images.

If needed to rebuild, just build the container image from scratch by following the docs. We will slowly try to migrate all backends to the gallery to keep the core small.

⚠️ This PR is a breaking change, it also sets the base folders to /models and /backends instead of /build/models and /build/backends.

Copy link

netlify bot commented Jun 25, 2025

Deploy Preview for localai ready!

Name Link
🔨 Latest commit fef436d
🔍 Latest deploy log https://app.netlify.com/projects/localai/deploys/685c22387968b30008743b72
😎 Deploy Preview https://deploy-preview-5721--localai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@mudler mudler force-pushed the feat/smaller_images branch from 68ff1ce to 865d82b Compare June 25, 2025 09:26
@mudler mudler force-pushed the feat/smaller_images branch 3 times, most recently from 81c8153 to e35704c Compare June 25, 2025 09:53
@mudler mudler added the enhancement New feature or request label Jun 25, 2025
@mudler mudler force-pushed the feat/smaller_images branch from e35704c to e7dbc20 Compare June 25, 2025 10:02
@mudler mudler changed the title feat: reduce images size and stop bundling sources ⚠️ feat: reduce images size and stop bundling sources Jun 25, 2025
@mudler mudler changed the title ⚠️ feat: reduce images size and stop bundling sources feat: ⚠️ reduce images size and stop bundling sources Jun 25, 2025
@mudler mudler force-pushed the feat/smaller_images branch 3 times, most recently from 0dacb7f to 27a0d0f Compare June 25, 2025 15:25
Do not copy sources anymore, and reduce packages of the base images by
not using builder images.

If needed to rebuild, just build the container image from scratch by
following the docs. We will slowly try to migrate all backends to the
gallery to keep the core small.

This PR is a breaking change, it also sets the base folders to /models
and /backends instead of /build/models and /build/backends.

Signed-off-by: Ettore Di Giacinto <[email protected]>
@mudler mudler force-pushed the feat/smaller_images branch from 27a0d0f to fef436d Compare June 25, 2025 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant