Allow per-build Debian mirror with standard APT verification

This commit is contained in:
Pigway
2026-10-02 00:41:24 +08:00
parent a3a8480e1a
commit a7fafa3dd2
2 changed files with 9 additions and 1 deletions
+7
View File
@@ -126,3 +126,10 @@ sudo env DOCKER_BUILDKIT=0 /usr/local/bin/docker compose build \
```
This per-build override does not change global registry or network configuration.
A slow Debian CDN can be overridden only for this build, retaining APT GPG
verification and changing no NAS system settings:
```sh
sudo /usr/local/bin/docker compose build --build-arg DEBIAN_MIRROR=mirrors.aliyun.com
```