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

Use Alpine image instead of Slim-Bullseye #67

Closed
ImBIOS opened this issue Jun 16, 2023 · 2 comments
Closed

Use Alpine image instead of Slim-Bullseye #67

ImBIOS opened this issue Jun 16, 2023 · 2 comments

Comments

@ImBIOS
Copy link

ImBIOS commented Jun 16, 2023

Is your feature request related to a problem? Please describe.
Alpine image is popular thanks to its lightweight and having the bare minimum required Linux to run. I found several Dockerfile still using the Debian Bullseye Slim image. It's just a size issue.

Describe the solution you'd like
By using Alpine, we can save a minimum of 30% of the image size.

Describe alternatives you've considered
undefined

Additional context

Reference: https://dev.to/mohammadfaisal/how-i-reduced-docker-image-size-from-143-gb-to-224-mb-53nc

@ImBIOS
Copy link
Author

ImBIOS commented Jun 16, 2023

Oh, I found out that Alpine image uses musl libc instead of glibc and it may cause compatibility issues with certain Rust crates. Closing it as not planned.

@ImBIOS ImBIOS closed this as completed Jun 16, 2023
@ImBIOS
Copy link
Author

ImBIOS commented Jun 16, 2023

Moved to #68

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

No branches or pull requests

1 participant