Hello :wave: I'm wondering how you typically deal...
# ask-for-help
p
Hello 👋 I'm wondering how you typically deal with transitive dependencies relying on Rust. I often find myself having projects that rely on libraries with, let's say, poor dependency hygiene, and so they add transitive dependencies that haven't been maintained for years and are missing wheels for "recent" Python versions. As a result they require
cargo
& cie at build time, which is not a part of the default
debian
image BentoML uses, and many other base images as a matter of fact. How do you deal with these? Do you systematically override the Dockerfile template? Simply using
system_packages
ends-up bloating the final image right?
c
We deal with that a lot - usually with the
Image.run()
command https://docs.bentoml.com/en/latest/build-with-bentoml/runtime-environment.html#run
👍 1