fix(agent): commit GeoLite2 mmdb as build fallback

Vendor GeoLite2-Country.mmdb in the repository so agent builds still
work when the remote download is unavailable. Update the fetch script
and agent Dockerfile to prefer a fresh download and fall back to the
committed database file.
This commit is contained in:
ryan
2026-06-20 14:04:42 +08:00
parent 3a368119e5
commit 570b639e07
4 changed files with 16 additions and 8 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ sidebar: false
### 修复
- 修复 Agent CI/Docker 构建:`go:embed` 所需的 `GeoLite2-Country.mmdb` 在构建前通过 `scripts/fetch-agent-geoip-mmdb.sh` 自动拉取。
- 修复 Agent CI/Docker 构建:将 `GeoLite2-Country.mmdb` 提交至仓库作为兜底,构建前优先尝试 `scripts/fetch-agent-geoip-mmdb.sh` 拉取最新库,远程失败时回退使用已提交文件。
## [v2.3.4] - 2026-06-17