Re:A lesson in dockerizing shell scripts
by codethief on Saturday February 03, 2024 @11:26AM
(#39241822)
Does anyone here have experience using Nix to build minimal Docker images? How well does it work, and how does it compare to the author's approach of manually copying shared libraries into a scratch image?
[ Parent
| on HN ]
Re:A lesson in dockerizing shell scripts
by SirensOfTitan on Saturday February 03, 2024 @11:31AM
(#39241870)
It works quite well and you can get very minimal docker images using nix with very few tricks compared to this.
…with that, building those nix images on Mac is still a bit rough—there’s some official docs and work on getting a builder VM set-up, but it’s still a bit rough around the edges.
Re:A lesson in dockerizing shell scripts
by codethief on Saturday February 03, 2024 @11:32AM
(#39241876)
Responding to myself: I see that someone else here in this thread commented on Nix: https://news.ycombinator.com/item?id=39241768