3 ms·
Conceptually I love this idea. I love the idea of them being able to build AWS/GCP/VM images of the same thing even more. The place it falls down for me is that
by jon-wood 4y ago
Conceptually I love this idea. I love the idea of them being able to build AWS/GCP/VM images of the same thing even more. The place it falls down for me is that for it to be truly valuable everyone on the team needs to be bought in, and Nix is in my experience not the friendliest of tools. I have nasty images of the build breaking and everyone just being baffled by it, which is certainly an issue with Docker as well, but at least Docker is just running some shell commands during build.
- pmarreck 4y agoGetting buy-in from your team can happen gradually; initially I think you'd only need 2 people with basic competence to get past most build difficulties (in order to avoid the "hit by a bus"/"vacation" problem), and the others can learn as those 2 go (and communicate how they fixed things). Docker certainly isn't just "running some shell commands" Here's a link to one of a few blogposts about building container images with nix: https://thewagner.net/blog/2021/02/25/building-container-images-with-nix/ https://thewagner.net/blog/2021/02/25/building-container-ima... Here's a few good links to get started: https://nix.dev/ https://nix.dev/ https://nixcloud.io/tour/?id=1 https://nixcloud.io/tour/?id=1 < This one's a pretty cool interactive nix language tour that works by asking you to solve progressively more challenging problems and then validates the solution by actually running it- I love this approach to learning a language.