fix(#8): script-dependencies — 清理最后一处 registry 引用
This commit is contained in:
@@ -83,9 +83,7 @@ dependencies:
|
||||
**处理流程:**
|
||||
```bash
|
||||
# 容器启动时自动安装
|
||||
docker run --rm gis-base \
|
||||
pip install openpyxl python-docx --no-cache-dir \
|
||||
&& python /tmp/scripts/run.py
|
||||
docker run --rm gis-base pip install openpyxl python-docx --no-cache-dir && python /tmp/scripts/run.py
|
||||
```
|
||||
|
||||
**限速规则:** 单次任务安装的 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
|
||||
|
||||
# 安装系统依赖
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
libgl1-mesa-glx \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends libgl1-mesa-glx && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# 安装 Python 依赖
|
||||
RUN pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu \
|
||||
opencv-python-headless \
|
||||
--no-cache-dir
|
||||
RUN pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu opencv-python-headless --no-cache-dir
|
||||
```
|
||||
|
||||
**合规检测规则:**
|
||||
|
||||
Reference in New Issue
Block a user