Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
garethrowlands
· 5y ago · 0 comments
Some people use Nix to build Docker images. They say it's very good for that.
Comments
[–]
wlib
5y ago
It is, nix is more declarative than a dockerfile and can even optimize the layers based on the dependency graph. See
https://grahamc.com/blog/nix-and-layered-docker-images
for a good explanation and
https://nixos.org/manual/nixpkgs/stable/#sec-pkgs-dockerTool...
for all of nix’s container related documentation.