rust-rdkafka icon indicating copy to clipboard operation
rust-rdkafka copied to clipboard

libz missing when using with distroless

Open lcmgh opened this issue 1 year ago • 1 comments

On distroless it gives me

/app/executable: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory

Is there a compile feature flag I could use to fix it?

lcmgh avatar Sep 10 '24 06:09 lcmgh

Try adding the features = ["libz-static"] flag

gsson avatar Oct 21 '24 07:10 gsson