-
Notifications
You must be signed in to change notification settings - Fork 336
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
Strip all binaries for slim images #472
base: master
Are you sure you want to change the base?
Conversation
This might be something you would do for the |
Reduces slim-bookworm image from 180M to 155M.
Sure, done. |
Though the size reduction for alpine is even better in percentage: 90M -> 67M. Is there a reason not to strip? |
@sdwolfz 👆🏻 |
Sorry but you should await feedback from @tianon here. My point is, slim images are designed to be small, but the non slim ones, if a linux binary is expected on the live system, then people will also expect it in the docker image, so this might break people's expectations. |
|
This might be a breaking change so it might be bettter to do for a new version. |
What do you mean by a new version? Aren't the docker images tagged separately? |
The difference with package managers is that they typically provide something like |
You can create another image variant with Have you ever used the debugging symbols in the image? |
Reduces slim-bookworm image from 180M to 155M.