Configure mainland build mirrors and persist BuildKit apt and pip caches

This commit is contained in:
Pigway
2026-10-07 17:37:33 +08:00
parent 1e13977ec2
commit d88c88f876
8 changed files with 83 additions and 8 deletions
+5
View File
@@ -0,0 +1,5 @@
# Shared mainland-China build profile; source this file before Compose builds.
# Nonempty environment / Gitea repository variables override these defaults.
DEBIAN_MIRROR=${DEBIAN_MIRROR:-mirrors.tuna.tsinghua.edu.cn}
DEBIAN_SECURITY_MIRROR=${DEBIAN_SECURITY_MIRROR:-mirrors.tuna.tsinghua.edu.cn}
export DEBIAN_MIRROR DEBIAN_SECURITY_MIRROR