You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current Dockerfile creates image with size over 2GB. It's just too much!
Try to come with something smaller - using Ubuntu as base is not efficient, majority of things is just not needed.
audioserve compiles to one binary plus two additional files are needed (index.html and bundle.js for web client).
audioserve depends on few dynamic libraries:
I've tried static build for now I'm sucked with problem to statically linked taglib with rust code - see the issue here emk/rust-musl-builder#65. If anybody has some ideas please help.
Current Dockerfile creates image with size over 2GB.
Just to mention that current multistage Dockerfile helped significantly - so it's now ~ 200MB (with 60MB static ffmpeg executable). I'm keeping this opened as there are still possible improvements.
Especially interesting could be a statically linked executable. But there I got stuck, as noted above - static linking with C++ libraries looks like a problem in Rust.
Current Dockerfile creates image with size over 2GB. It's just too much!
Try to come with something smaller - using Ubuntu as base is not efficient, majority of things is just not needed.
audioserve compiles to one binary plus two additional files are needed (index.html and bundle.js for web client).
audioserve depends on few dynamic libraries:
Try complely static build with musl libc? Then it can use alpine linux?
The text was updated successfully, but these errors were encountered: