Skip to content

feat: use gh archive mirror - #36

Merged
lczyk merged 7 commits into
mainfrom
feat/use-gh-archive-mirror
Sep 11, 2026
Merged

lczyk merged 7 commits into
mainfrom
feat/use-gh-archive-mirror

Conversation

@lczyk

@lczyk lczyk commented Sep 11, 2026

Copy link
Copy Markdown
Owner

use azure.archive.ubuntu.com mirror to get faster apt installs

"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
lczyk force-pushed the feat/use-gh-archive-mirror branch from b20948e to e178d97 Compare September 11, 2026 13:02
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
lczyk marked this pull request as ready for review September 11, 2026 13:17
@lczyk
lczyk merged commit 613aeb1 into main Sep 11, 2026
6 checks passed
@lczyk
lczyk deleted the feat/use-gh-archive-mirror branch September 11, 2026 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant