Re:Nix is a better Docker image builder than Docker's image ...
by janjongboom on Saturday March 16, 2024 @05:34AM
(#39724472)
Yeah, but it's impossible to properly pin w/o running your own mirrors. Anything you install via apt is unpinnable, as old versions get removed when a new version is released; pinning multi-arch Docker base images is impossible because you can only pin on a tag which is not immutable (pinning on hashes is architecture dependent); Docker base images might get deleted (e.g. nvidia-cuda base images); pinning Python dependencies, even with a tool like Poetry is impossible, because people delete packages / versions from PyPI (e.g. jaxlib 0.4.1 this week); GitHub repos get deleted; the list goes on. So you need to mirror every dependency.
[ Parent
| on HN ]
Re:Nix is a better Docker image builder than Docker's image ...
by codethief on Saturday March 16, 2024 @10:53AM
(#39726462)
> Anything you install via apt is unpinnable, as old versions get removed when a new version is released
Huh, I have never had this issue with apt (Debian/Ubuntu) but frequently with apk/Alpine: The package's latest version this week gets deleted next week.
Re:Nix is a better Docker image builder than Docker's image ...
by pl4nty on Saturday March 16, 2024 @08:44PM
(#39730814)
> apt is unpinnable, as old versions get removed
not necessarily, eg snapshot.debian.org
> pinning on hashes is architecture dependent
can't you pin the multi-arch manifest instead?
I still like StableBuild for protection against package deletion, and mirroring non-pinnable deps