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

Suggestion Toolchain size can be reduced by trimming fat debug symbols #96

Open
HK416-is-all-you-need opened this issue Jan 12, 2022 · 0 comments

Comments

@HK416-is-all-you-need
Copy link

Subj.
Running something like:

find /usr/local/rustup/ -type f -executable -exec strip --strip-unneeded {} 
find /usr/local/rustup/ -name *.so -exec strip --strip-unneeded {} 
find /usr/local/rustup/ -name *.rlib -exec strip -d {} 
find /usr/local/rustup/ -name *.a -exec strip -d {}

Produces image with size 604MB which means 211MB compressed on docker hub (instead of 250 for official image) for ultimate slim-alpine image

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

1 participant