fix(#8): script-dependencies — 清理最后一处 registry 引用

This commit is contained in:
2026-07-13 10:38:09 +00:00
parent f11b7c6e31
commit 2ddf881c38
@@ -83,9 +83,7 @@ dependencies:
**处理流程:** **处理流程:**
```bash ```bash
# 容器启动时自动安装 # 容器启动时自动安装
docker run --rm gis-base \ docker run --rm gis-base pip install openpyxl python-docx --no-cache-dir && python /tmp/scripts/run.py
pip install openpyxl python-docx --no-cache-dir \
&& python /tmp/scripts/run.py
``` ```
**限速规则:** 单次任务安装的 pip 包不超过 10 个,总安装时间不超过 60 秒。 **限速规则:** 单次任务安装的 pip 包不超过 10 个,总安装时间不超过 60 秒。
@@ -100,7 +98,7 @@ docker run --rm gis-base \
**扩展镜像命名规则:** **扩展镜像命名规则:**
``` ```
registry.mercator.cn/agentgis/gis-ext-{功能}:{版本} gis-ext-{功能}:latest(自托管)
``` ```
**已规划扩展镜像:** **已规划扩展镜像:**
@@ -143,14 +141,10 @@ registry.mercator.cn/agentgis/gis-ext-{功能}:{版本}
FROM gis-base:latest FROM gis-base:latest
# 安装系统依赖 # 安装系统依赖
RUN apt-get update && apt-get install -y --no-install-recommends \ RUN apt-get update && apt-get install -y --no-install-recommends libgl1-mesa-glx && rm -rf /var/lib/apt/lists/*
libgl1-mesa-glx \
&& rm -rf /var/lib/apt/lists/*
# 安装 Python 依赖 # 安装 Python 依赖
RUN pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu \ RUN pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu opencv-python-headless --no-cache-dir
opencv-python-headless \
--no-cache-dir
``` ```
**合规检测规则:** **合规检测规则:**