Re:Docker-slim: Minify your Docker container image without c...
by kortex on Tuesday December 10, 2019 @08:52PM
(#21758840)
https://github.com/docker-slim/docker-slim/blob/master/inter...
Yeahhh, that is your classic example of "things you definitely DO want an explanation comment for"
[ Parent
| on HN ]
Re:Docker-slim: Minify your Docker container image without c...
by kylequest on Wednesday December 11, 2019 @10:50AM
(#21763544)
Different application runtimes have interesting hidden behaviors. With Python, for example, the runtime will generate cache files from your .py files and then it'll use it instead of those .py file. However, it still checks if the original source code is still there. If it's not there the runtime will refuse to use the cache files.