nix2container
nix2container copied to clipboard
Improve image-pulling Nix functions
- Rewrite the
buildImageBlobscript inpullImageFromManifestto support more registries (e.gnvcr.iodoesn't return aservice=param in itsWWW-Authenticateheader) - Add
cacertto nativeBuildInputs to use its setup hook instead of explicitly setting SSL_CERT_FILE inpullImageandbuildImageBlob - Other small improvements in Nix code
Better reviewed commit by commit :)
@mikepurvis since you contributed this pull method, could you try this branch in your environment to ensure there is no regression?
Thanks for the ping! I'm actually not at that company any more, so I'm not in a good position to validate it.
Overall looks good though, a bunch of nice bits of cleanup.
Fixed! All workflows are now passing
Thank you all for these nice improvements!