security-union / videocall-rs

teleconference system written in rust
https://www.videocall.rs
MIT License
1.36k stars 117 forks source link

Use Alpine image instead of Slim-Bullseye #67

Closed ImBIOS closed 1 year ago

ImBIOS commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

Moved to #68