nlewo / nix2container

An archive-less dockerTools.buildImage implementation
Apache License 2.0
518 stars 48 forks source link

Any plans to upstream this project to nixpkgs? #66

Open gytis-ivaskevicius opened 1 year ago

gytis-ivaskevicius commented 1 year ago

Just curious if there are any plans like that, maybe pushing go binary alone would be a good start?

nlewo commented 1 year ago

Yes, i would like to upstream nix2container into nixpkgs.

I agree pushing the go binary would be a nice start since it would allow user to fetch it from the cache instead of building it.

Regarding the nix2container Nix library, we could do the same than poetry2nix even if it's far from being perfect: https://github.com/adisbladis/nixpkgs/blob/8493ebc89ce5ef1de16929f7c43a494892e12e8c/pkgs/development/tools/poetry2nix/poetry2nix/README.md

j-baker commented 1 year ago

It might also be straightforward to set up a cachix cache. This (I just did it earlier) takes about 10 minutes, is free, and can be easily integrated with github actions.