5 ms·
I'm not sure if this approach is being used already or even viable, but there are good tools for the following: - creating minimal OCI images from Nix packages
by flurie 2y ago
I'm not sure if this approach is being used already or even viable, but there are good tools for the following:
- creating minimal OCI images from Nix packages
- creating microvms from OCI images
There are certainly some tradeoffs with this approach, but given that the author is trying to optimize for size, in addition to one of the primary benefits to this approach being a really clean, structured build/deploy loop, it seems like it could be worth exploring.
- c1yd3i 2y agoYes: https://nix.dev/tutorials/nixos/building-and-running-docker-images.html https://nix.dev/tutorials/nixos/building-and-running-docker-... They OCI images generated are super light weight.