Re:Will Nix Overtake Docker?
by AmericanBlarney on Monday November 29, 2021 @11:34PM
(#29389001)
Those sound like issues with your Docker usage - there are options to keep base image quite streamlined (e.g. alpine or distroless images).
[ Parent
| on HN ]
For context, I'm referencing our (legacy) base image for projects on Replit:
Polygott (https://github.com/replit/polygott/).
The image contains dependencies needed for 50+ languages. This means repls by default are packed with lots of commonly used tools. However, the image is massive, takes a long time to build, and is difficult to deploy.
Unfortunately, slimming the image down is not really an option: people rely on all the tools we provide out of the box.
> For context, I'm referencing our (legacy) base image for projects on Replit: Polygott (https://github.com/replit/polygott/).
May I ask why you didn't use something like Ansible to build such a complex image? With appropriate package version pinning (which it's the real crux here) it should work well enough to get a reproducible build.
I understand it would already have been something different from a pure Dockerfile so it's not that fair to compare buuut...
Re:Will Nix Overtake Docker?
by chriswarbo on Tuesday November 30, 2021 @05:04AM
(#29390594)
> May I ask why you didn't use something like Ansible
They did; it's called Nix, and they wrote a blog post about it ;)