Skip to content

Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.

feat: update Docker run command in Enflame.md and modify gcu.Dockerfile for improved package sources

myhloli583855be672d
diff --git a/docker/china/gcu.Dockerfile b/docker/china/gcu.Dockerfile
index 075c1d98..5b093187 100644
--- a/docker/china/gcu.Dockerfile
+++ b/docker/china/gcu.Dockerfile
@@ -1,16 +1,20 @@
# Base image containing the vLLM inference environment, requiring amd64(x86-64) CPU + Enflame GCU.
-FROM
+FROM crpi-vofi3w62lkohhxsp.cn-shanghai.personal.cr.aliyuncs.com/opendatalab-mineru/gcu:docker_images_topsrider_i3x_3.6.20260106_vllm0.11_pytorch2.8.0
# Install libgl for opencv support & Noto fonts for Chinese characters
-RUN apt-get update && \
- apt-get install -y \
+RUN echo 'deb http://mirrors.aliyun.com/ubuntu/ noble main restricted universe multiverse\n\
+deb http://mirrors.aliyun.com/ubuntu/ noble-updates main restricted universe multiverse\n\
+deb http://mirrors.aliyun.com/ubuntu/ noble-backports main restricted universe multiverse\n\
+deb http://mirrors.aliyun.com/ubuntu/ noble-security main restricted universe multiverse' > /tmp/aliyun-sources.list && \
+ apt-get -o Dir::Etc::SourceList=/tmp/aliyun-sources.list update && \
+ apt-get -o Dir::Etc::SourceList=/tmp/aliyun-sources.list install -y \
fonts-noto-core \
fonts-noto-cjk \
fontconfig && \
fc-cache -fv && \
apt-get clean && \
- rm -rf /var/lib/apt/lists/*
+ rm -rf /var/lib/apt/lists/* /tmp/aliyun-sources.list
# Install mineru latest
RUN python3 -m pip install -U pip -i https://mirrors.aliyun.com/pypi/simple && \
diff --git a/docs/zh/usage/acceleration_cards/Enflame.md b/docs/zh/usage/acceleration_cards/Enflame.md
index 6568a545..df975f78 100644
--- a/docs/zh/usage/acceleration_cards/Enflame.md
+++ b/docs/zh/usage/acceleration_cards/Enflame.md
@@ -22,12 +22,12 @@ docker build --network=host -t mineru:gcu-vllm-latest -f gcu.Dockerfile .
```bash
docker run -u root --name mineru_docker \
- --network=host \
- --ipc=host \
- --privileged \
- -e MINERU_MODEL_SOURCE=modelscope \
- -it enflame:docker_images_topsrider_i3x_3.6.20260106_vllm0.11 \
- /bin/bash
+ --network=host \
+ --ipc=host \
+ --privileged \
+ -e MINERU_MODEL_SOURCE=local \
+ -it enflame:docker_images_topsrider_i3x_3.6.20260106_vllm0.11 \
+ /bin/bash
```
执行该命令后,您将进入到Docker容器的交互式终端,您可以直接在容器内运行MinerU相关命令来使用MinerU的功能。