3 ms·
Sounds like Nix is what you're looking for.
by xvector 3y ago
Sounds like Nix is what you're looking for.
- evilduck 3y agoWhich can conveniently produce Docker images.
- Quekid5 3y agoIs there some documentation on exactly how to do this? I've been curious about this in the past, but my search-fu is failing me...
- arianvanp 3y agoThere's a whole chapter on images (VM, docker, appimage) in the manual. I can recommend starting there. https://nixos.org/manual/nixpkgs/stable/#chap-images https://nixos.org/manual/nixpkgs/stable/#chap-images The smallest example is: pkgs.dockerTools.buildLayeredImage { name = "hello"; contents = [ pkgs.hello ]; }