Repository navigation
containers: use the regular Ubuntu archive instead of snapshot.ubuntu.com - #68
Merged
Merged
Conversation
snapshot.ubuntu.com delivered about 100 kB/s and answered many requests with 500/503, so the ubuntu-2004 image took more than 30 minutes or failed. Both Ubuntu images now read the regular archive, like ubuntu-2204 on ubuntu-ports already did. Reproducibility of the packages comes from pinning the images by digest in release/packages.json; the installed versions stay recorded in /etc/sil-kit-pkg-image-packages.txt. The apt-get update retry script is not needed anymore and is removed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #66. #66 made
apt-get updateretry until snapshot.ubuntu.com delivered all indexes. That works, but the package downloads (259 packages, 161 MB) then run at about 100 kB/s, so theubuntu-2004image takes more than 30 minutes (runs 43875014441 and 43876263267 were at package 230/261 after 29 minutes). So the snapshot is dropped.Change
ubuntu-2004andubuntu-2204read the regular Ubuntu archive.ubuntu-2204(arm64) already did this in practice, because the snapshot has no ubuntu-ports; its leftover snapshotsedis removed as well.UBUNTU_SNAPSHOTand the separateca-certificatesstep (only needed for the https snapshot) are gone.containers/utils/apt-update.shfrom containers: use the regular Ubuntu archive instead of snapshot.ubuntu.com #66 is removed again; both images use a plainapt-get update.Reproducibility
The same as for
alma-8: a rebuild of the image can install newer package versions, and the installed versions are recorded in/etc/sil-kit-pkg-image-packages.txt. The packages stay reproducible, becauserelease/packages.jsonpins the images by digest.Tested
The Build Images run of this PR builds both Ubuntu images. After merging, Build Images on
mainpublishesubuntu-2004:main.🤖 Generated with Claude Code