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

libz missing when using with distroless #719

Open
lcmgh opened this issue Sep 10, 2024 · 1 comment
Open

libz missing when using with distroless #719

lcmgh opened this issue Sep 10, 2024 · 1 comment

Comments

@lcmgh
Copy link

lcmgh commented Sep 10, 2024

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 lcmgh changed the title Run with distroless libz missing when using with distroless Sep 10, 2024
@gsson
Copy link

gsson commented Oct 21, 2024

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

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

2 participants