3 ms·
One thing they don't talk about is using non-docker tools to build images. e.g. nix: http://lethalman.blogspot.com/2016/04/cheap-docker-images-with-nix_15.html
by fiddlerwoaroof 7y ago
One thing they don't talk about is using non-docker tools to build images.
e.g. nix: http://lethalman.blogspot.com/2016/04/cheap-docker-images-with-nix_15.html http://lethalman.blogspot.com/2016/04/cheap-docker-images-wi...
or jib: https://github.com/GoogleContainerTools/jib https://github.com/GoogleContainerTools/jib
These may not fit every use case, but they can minimize the size of the image by making really precisely defined containers.
- donmcronald 7y agoIt’s worth looking at an overview of how Jib works because the general strategy is very good IMO. https://phauer.com/2019/no-fat-jar-in-docker-image/ https://phauer.com/2019/no-fat-jar-in-docker-image/