Skip to content
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

chore: make "lite" docker image lighter #105

Merged
merged 1 commit into from
Dec 13, 2024

Conversation

stewart-newscorp
Copy link
Contributor

This reduces the "lite" docker image size by over 1GB:

❯ docker images | grep python-with
python-with-slim                      1                  8e2af154aac9   42 seconds ago   1.81GB
python-without-slim                   1                  f94cf64c4591   2 minutes ago    2.97GB

and removes about 100 vulnerabilities (See):
https://hub.docker.com/_/python/tags?name=3.10.16-slim-bookworm
https://hub.docker.com/_/python/tags?name=3.10.16-bookworm

slim is still based around glibc, so C bindings should still work

@stewart-newscorp stewart-newscorp changed the title chore: make "lite" docker image liter chore: make "lite" docker image lighter Dec 13, 2024
@danny-avila
Copy link
Owner

thanks!

@danny-avila danny-avila merged commit 662b057 into danny-avila:main Dec 13, 2024
@stewart-newscorp stewart-newscorp deleted the slim-docker-image branch December 15, 2024 23:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants