feat: use gh archive mirror - #36
Merged
Merged
Conversation
"a && b || true && c" binds left, so the "|| true" meant for mkdir also swallowed a failed package installation and let the build finish without sshd.
archive.ubuntu.com served the amd64 indexes at 28 kB/s during the r22 release and the job timed out; the runner itself pulls from the azure mirror, so let docker build do the same.
A per-RUN bind mount leaves no layer behind, so published images are the same as before the mirror override. The chisel-releases stage now mounts the helper from its own build context, so it hashes it too.
lczyk
force-pushed
the
feat/use-gh-archive-mirror
branch
from
September 11, 2026 13:02
b20948e to
e178d97
Compare
The helper now writes rewritten copies of the sources and an apt.conf into a tmpfs mount and the RUN points APT_CONFIG at it, so the image's own /etc/apt is never modified and there is nothing to restore afterwards.
lczyk
marked this pull request as ready for review
September 11, 2026 13:17
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.
use azure.archive.ubuntu.com mirror to get faster apt installs