Skip to content

Conversation

@abhishekmitra16
Copy link

For Issue #7

@abhishekmitra16
Copy link
Author

This is also reducing the size to around ~60MB

@ozbillwang
Copy link
Contributor

ozbillwang commented Nov 22, 2025

Thanks for the PR.

but I didn't see the condition to copy different .so files for ARM64 and AMD64 in docker-bake.hcl can you confirm how it works?

@abhishekmitra16
Copy link
Author

I think you don't need it because it is already handled in the Dockerfile. During the multi-arch build the Dockerfile is automatically copying the neccessary files for both architechture.

COPY --from=ollama /usr/lib/ollama/libggml-cpu-* /usr/lib/ollama/
COPY --from=ollama /usr/lib/ollama/libggml-base.so /usr/lib/ollama/libggml-base.so

@abhishekmitra16
Copy link
Author

I think you don't need it because it is already handled in the Dockerfile. During the multi-arch build the Dockerfile is automatically copying the neccessary files for both architechture.

COPY --from=ollama /usr/lib/ollama/libggml-cpu-* /usr/lib/ollama/
COPY --from=ollama /usr/lib/ollama/libggml-base.so /usr/lib/ollama/libggml-base.so

@ozbillwang let me know if I am missing something

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants