Skip to content

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.

@netlify
Copy link

netlify bot commented Jun 25, 2025

Deploy Preview for localai ready!

Name Link
🔨 Latest commit 9cda710
🔍 Latest deploy log https://app.netlify.com/projects/localai/deploys/685d7836f65898000832bcb0
😎 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
@mudler mudler merged commit 6644af1 into master Jun 26, 2025
24 of 26 checks passed
@mudler mudler deleted the feat/smaller_images branch June 26, 2025 16:41
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.

2 participants