Skip to content

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

feat: update Dockerfiles to install mineru version 3.0.0

myhlolib5e1b81ea5c2
diff --git a/docker/china/Dockerfile b/docker/china/Dockerfile
index 2e99bb1d..2be8b628 100644
--- a/docker/china/Dockerfile
+++ b/docker/china/Dockerfile
@@ -15,7 +15,7 @@ RUN apt-get update && \
rm -rf /var/lib/apt/lists/*
# Install mineru latest
-RUN python3 -m pip install -U 'mineru[core]>=2.7.0' -i https://mirrors.aliyun.com/pypi/simple --break-system-packages && \
+RUN python3 -m pip install -U 'mineru[core]>=3.0.0' -i https://mirrors.aliyun.com/pypi/simple --break-system-packages && \
python3 -m pip cache purge
# Download models and update the configuration file
diff --git a/docker/china/corex.Dockerfile b/docker/china/corex.Dockerfile
index a883bc97..8e1ba13b 100644
--- a/docker/china/corex.Dockerfile
+++ b/docker/china/corex.Dockerfile
@@ -14,7 +14,7 @@ RUN apt-get update && \
# Install mineru latest
RUN python3 -m pip install -U pip -i https://mirrors.aliyun.com/pypi/simple && \
- python3 -m pip install 'mineru[core]>=2.7.4' \
+ python3 -m pip install 'mineru[core]>=3.0.0' \
numpy==1.26.4 \
opencv-python==4.11.0.86 \
-i https://mirrors.aliyun.com/pypi/simple && \
diff --git a/docker/china/dcu.Dockerfile b/docker/china/dcu.Dockerfile
index b1c8e435..8eb33408 100644
--- a/docker/china/dcu.Dockerfile
+++ b/docker/china/dcu.Dockerfile
@@ -14,10 +14,7 @@ RUN apt-get update && \
# Install mineru latest
RUN python3 -m pip install -U pip -i https://mirrors.aliyun.com/pypi/simple && \
- python3 -m pip install mineru[api,gradio] \
- "matplotlib>=3.10,<4" \
- "ultralytics>=8.3.48,<9" \
- "doclayout_yolo==0.0.4" \
+ python3 -m pip install "mineru[gradio]>=3.0.0" \
"ftfy>=6.3.1,<7" \
"shapely>=2.0.7,<3" \
"pyclipper>=1.3.0,<2" \
diff --git a/docker/china/gcu.Dockerfile b/docker/china/gcu.Dockerfile
index 04f1de19..bcfc74b6 100644
--- a/docker/china/gcu.Dockerfile
+++ b/docker/china/gcu.Dockerfile
@@ -17,7 +17,7 @@ deb http://mirrors.aliyun.com/ubuntu/ noble-security main restricted universe mu
rm -rf /var/lib/apt/lists/* /tmp/aliyun-sources.list
# Install mineru latest
-RUN python3 -m pip install "mineru[core]>=2.7.2" \
+RUN python3 -m pip install "mineru[core]>=3.0.0" \
numpy==1.26.4 \
opencv-python==4.11.0.86 \
-i https://mirrors.aliyun.com/pypi/simple && \
diff --git a/docker/china/kxpu.Dockerfile b/docker/china/kxpu.Dockerfile
index 91605ee4..3559445e 100644
--- a/docker/china/kxpu.Dockerfile
+++ b/docker/china/kxpu.Dockerfile
@@ -14,10 +14,7 @@ RUN apt-get update && \
# Install mineru latest
RUN python3 -m pip install -U pip -i https://mirrors.aliyun.com/pypi/simple && \
- python3 -m pip install "mineru[api,gradio]>=2.7.6" \
- "matplotlib>=3.10,<4" \
- "ultralytics>=8.3.48,<9" \
- "doclayout_yolo==0.0.4" \
+ python3 -m pip install "mineru[gradio]>=3.0.0" \
"ftfy>=6.3.1,<7" \
"shapely>=2.0.7,<3" \
"pyclipper>=1.3.0,<2" \
diff --git a/docker/china/maca.Dockerfile b/docker/china/maca.Dockerfile
index 1ee55066..827f18c6 100644
--- a/docker/china/maca.Dockerfile
+++ b/docker/china/maca.Dockerfile
@@ -21,7 +21,7 @@ RUN sed -i '3s/^Version: 0.15.1+metax3\.1\.0\.4$/Version: 0.21.0+metax3.1.0.4/'
# Install mineru latest
RUN /opt/conda/bin/python3 -m pip install -U pip -i https://mirrors.aliyun.com/pypi/simple && \
- /opt/conda/bin/python3 -m pip install 'mineru[core]>=2.6.5' \
+ /opt/conda/bin/python3 -m pip install 'mineru[core]>=3.0.0' \
numpy==1.26.4 \
opencv-python==4.11.0.86 \
-i https://mirrors.aliyun.com/pypi/simple && \
diff --git a/docker/china/mlu.Dockerfile b/docker/china/mlu.Dockerfile
index e2cb26eb..bd889a91 100644
--- a/docker/china/mlu.Dockerfile
+++ b/docker/china/mlu.Dockerfile
@@ -22,7 +22,7 @@ RUN /bin/bash -c '\
source /torch/venv3/pytorch_infer/bin/activate; \
fi && \
python3 -m pip install -U pip -i https://mirrors.aliyun.com/pypi/simple && \
- python3 -m pip install "mineru[core]>=2.7.4" \
+ python3 -m pip install "mineru[core]>=3.0.0" \
numpy==1.26.4 \
opencv-python==4.11.0.86 \
-i https://mirrors.aliyun.com/pypi/simple && \
diff --git a/docker/china/musa.Dockerfile b/docker/china/musa.Dockerfile
index 73c9aff2..3bfb63a8 100644
--- a/docker/china/musa.Dockerfile
+++ b/docker/china/musa.Dockerfile
@@ -18,10 +18,7 @@ RUN python3 -m pip install -U pip -i https://mirrors.aliyun.com/pypi/simple && \
git clone https://gitcode.com/gh_mirrors/vi/vision.git -b v0.20.0 --depth 1 && \
cd vision && \
python3 setup.py install && \
- python3 -m pip install "mineru[api,gradio]>=2.7.2" \
- "matplotlib>=3.10,<4" \
- "ultralytics>=8.3.48,<9" \
- "doclayout_yolo==0.0.4" \
+ python3 -m pip install "mineru[gradio]>=3.0.0" \
"ftfy>=6.3.1,<7" \
"shapely>=2.0.7,<3" \
"pyclipper>=1.3.0,<2" \
diff --git a/docker/china/npu.Dockerfile b/docker/china/npu.Dockerfile
index cb7890be..7eb2ff69 100644
--- a/docker/china/npu.Dockerfile
+++ b/docker/china/npu.Dockerfile
@@ -19,7 +19,7 @@ RUN apt-get update && \
# Install mineru latest
RUN python3 -m pip install -U pip -i https://mirrors.aliyun.com/pypi/simple && \
- python3 -m pip install 'mineru[core]>=2.6.5' \
+ python3 -m pip install 'mineru[core]>=3.0.0' \
numpy==1.26.4 \
opencv-python==4.11.0.86 \
-i https://mirrors.aliyun.com/pypi/simple && \
diff --git a/docker/china/ppu.Dockerfile b/docker/china/ppu.Dockerfile
index a0c8673b..5a8ce325 100644
--- a/docker/china/ppu.Dockerfile
+++ b/docker/china/ppu.Dockerfile
@@ -17,7 +17,7 @@ RUN apt-get update && \
# Install mineru latest
RUN python3 -m pip install -U pip -i https://mirrors.aliyun.com/pypi/simple && \
- python3 -m pip install 'mineru[core]>=2.6.5' \
+ python3 -m pip install 'mineru[core]>=3.0.0' \
numpy==1.26.4 \
opencv-python==4.11.0.86 \
-i https://mirrors.aliyun.com/pypi/simple && \
diff --git a/docker/global/Dockerfile b/docker/global/Dockerfile
index 968f6b27..5e84399d 100644
--- a/docker/global/Dockerfile
+++ b/docker/global/Dockerfile
@@ -15,7 +15,7 @@ RUN apt-get update && \
rm -rf /var/lib/apt/lists/*
# Install mineru latest
-RUN python3 -m pip install -U 'mineru[core]>=2.7.0' --break-system-packages && \
+RUN python3 -m pip install -U 'mineru[core]>=3.0.0' --break-system-packages && \
python3 -m pip cache purge
# Download models and update the configuration file