build(docker): support configurable package mirrors
giteabot backport / giteabot (push) Canceled after 0s
release-nightly / nightly-binary (push) Canceled after 0s
release-nightly / nightly-container (push) Canceled after 0s
giteabot / giteabot (push) Canceled after 0s
release-nightly-snapcraft / build-and-publish (push) Canceled after 0s

Assisted-by: Codex:GPT-5
This commit is contained in:
2026-08-16 08:30:25 +08:00
parent 2bd534fd5e
commit d951144f98
2 changed files with 19 additions and 4 deletions
+4
View File
@@ -3,6 +3,10 @@ services:
build:
context: ../..
dockerfile: Dockerfile
args:
ALPINE_MIRROR: https://mirrors.aliyun.com/alpine
GOPROXY: https://goproxy.cn,direct
NPM_REGISTRY: https://registry.npmmirror.com
image: roncarve/gita:1.27.2-production
container_name: gitea
hostname: git.roncarve.com