5 ms·
I think the ideal is using Nix to manage development dependencies and to handle building minimal docker images for deployment.
by fiddlerwoaroof 6y ago
I think the ideal is using Nix to manage development dependencies and to handle building minimal docker images for deployment.
- jokethrowaway 6y agoWhy not just use nix at that point? You can at least retain the advantage of having truly immutable and reproducible builds. I use docker for most of my clients' work but for in house stuff I just use nix.
- fiddlerwoaroof 6y agoWell, just nix works pretty well unless you want to deploy to K8s or Fargate or similar.
- soraminazuki 6y agoDocker and Nix are mostly orthogonal technologies though. Nix is an excellent build tool while Docker is useful as an universal software distribution format. They're really useful together because Nix is actually good at creating compact Docker images. But of course, if you don't have to worry much about distribution, it would be much nicer to stick with Nix as you've mentioned.