3 ms·
> Additionally, docker’s liveness checks broke, because the images don’t have curl in them anymore And that's why you use Nix to build your Docker images!
by lambdaba 3y ago
> Additionally, docker’s liveness checks broke, because the images don’t have curl in them anymore
And that's why you use Nix to build your Docker images!
- ActionHank 3y agoDo you mean to install Nix and then defer to that to build the image or for the image to be configured and setup on deployment? Genuinely interested if you have any insightful docs or pages on this.
- tadfisher 3y agoProbably the former. The functions in nixpkgs are documented here: https://nixos.org/manual/nixpkgs/unstable/#sec-pkgs-dockerTools https://nixos.org/manual/nixpkgs/unstable/#sec-pkgs-dockerTo...
- ActionHank 3y agoThank you
- matternous 3y agoHere’s a post from Mitchell Hashimoto of Hashicorp about doing just that: https://mitchellh.com/writing/nix-with-dockerfiles https://mitchellh.com/writing/nix-with-dockerfiles
- ActionHank 3y agoThank you