-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Provide a smaller Pulsar docker image without unnecessary development packages #14092
Comments
+1 on this! |
Thank you @hpvd. You might be also interested in the work @michaeljmarshall has done for #11269 |
@lhotari
Do the savings meet your expectations? Do we have to make any changes in text or link targets in doc on https://pulsar.apache.org/docs/next/deploy-docker ? |
@hpvd I think the simplest way to get a comparison of #14093 changes would be to build a docker images before and after locally.
yes, for the particular changes. However, I think that Pulsar lacks a proper slim image, but that's a topic for a separate discussion.
That document looks very much outdated. It doesn't make sense to me. |
thanks for getting back that fast! ps: filed an issue for doc update #17774 |
I've found dive to be a helpful tool for inspecting docker images. |
Is your enhancement request related to a problem? Please describe.
The pulsar docker image installs a lot of packages that are unnecessary.
For example, installing the
tk-dev
package pulls in many dependenciesI used these commands to find out what pulls in the enourmous amount of packages:
Describe the solution you'd like
The Pulsar docker image should not contain development tools for compiling.
The text was updated successfully, but these errors were encountered: