Re:Optimising Docker Layers for Better Caching with Nix
by jarvuschris on Tuesday October 02, 2018 @12:41PM
(#18123288)
[Habitat](http://habitat.sh/) builds on the concepts in Nix, and here is a relatively old experiment I found on optimizing Docker layering with it: https://github.com/chetan/habitat-dockerize-layers
[ Parent
| on HN ]
Re:Optimising Docker Layers for Better Caching with Nix
by roberthensing on Tuesday October 02, 2018 @06:31PM
(#18126264)
What I like about Nix is that this kind of functionality can be integrated into the Nixpkgs package set, as a function over packages.
It's just as easy as writing a machine image or an virtual machine network test, because Nixpkgs has functions you can use for those as well.