Re:`COPY –chmod` reduced the size of my container image by 35%
by cornstalks on Saturday March 26, 2022 @09:34AM
(#30811651)
From the docker-slim README:
Why are the minified Alpine images bigger than Ubuntu/Debian? Are a bunch of binaries using static linking and inflating the image? Or something else?
[ Parent
| on HN ]
Re:`COPY –chmod` reduced the size of my container image by 35%
by kylequest on Saturday March 26, 2022 @04:26PM
(#30815065)
You can try using the xray command that will give you clues (docker-slim isn't just minification :-)). The diff capability in the Slim web portal is even more useful (built on top of xray).