Skip to content

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

feat: update mineru package version to 3.4.0 in Dockerfiles

myhlolie0e58fc0d853
diff --git a/docker/china/Dockerfile b/docker/china/Dockerfile
index 00c95c0e..b079d5f4 100644
--- a/docker/china/Dockerfile
+++ b/docker/china/Dockerfile
@@ -17,7 +17,7 @@ RUN apt-get update && \
rm -rf /var/lib/apt/lists/*
# Install mineru latest
-RUN python3 -m pip install -U 'mineru[core]>=3.2.1' -i https://mirrors.aliyun.com/pypi/simple --break-system-packages && \
+RUN python3 -m pip install -U 'mineru[core]>=3.4.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 8e1ba13b..a1bf6723 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]>=3.0.0' \
+ python3 -m pip install 'mineru[core]>=3.4.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 8eb33408..83d25f20 100644
--- a/docker/china/dcu.Dockerfile
+++ b/docker/china/dcu.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[gradio]>=3.0.0" \
+ python3 -m pip install "mineru[gradio]>=3.4.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 bcfc74b6..cbc0b20e 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]>=3.0.0" \
+RUN python3 -m pip install "mineru[core]>=3.4.0" \
numpy==1.26.4 \
opencv-python==4.11.0.86 \
-i https://mirrors.aliyun.com/pypi/simple && \
@@ -27,4 +27,4 @@ RUN python3 -m pip install "mineru[core]>=3.0.0" \
RUN /bin/bash -c "mineru-models-download -s modelscope -m all"
# Set the entry point to activate the virtual environment and run the command line tool
-ENTRYPOINT ["/bin/bash", "-c", "export MINERU_MODEL_SOURCE=local && exec \"$@\"", "--"]
\ No newline at end of file
+ENTRYPOINT ["/bin/bash", "-c", "export MINERU_MODEL_SOURCE=local && exec \"$@\"", "--"]
diff --git a/docker/china/kxpu.Dockerfile b/docker/china/kxpu.Dockerfile
index 3559445e..e76920cb 100644
--- a/docker/china/kxpu.Dockerfile
+++ b/docker/china/kxpu.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[gradio]>=3.0.0" \
+ python3 -m pip install "mineru[gradio]>=3.4.0" \
"ftfy>=6.3.1,<7" \
"shapely>=2.0.7,<3" \
"pyclipper>=1.3.0,<2" \
@@ -27,4 +27,4 @@ RUN python3 -m pip install -U pip -i https://mirrors.aliyun.com/pypi/simple && \
RUN /bin/bash -c "mineru-models-download -s modelscope -m all"
# Set the entry point to activate the virtual environment and run the command line tool
-ENTRYPOINT ["/bin/bash", "-c", "export MINERU_MODEL_SOURCE=local && exec \"$@\"", "--"]
\ No newline at end of file
+ENTRYPOINT ["/bin/bash", "-c", "export MINERU_MODEL_SOURCE=local && exec \"$@\"", "--"]
diff --git a/docker/china/maca.Dockerfile b/docker/china/maca.Dockerfile
index 938896cf..ab5bd4b6 100644
--- a/docker/china/maca.Dockerfile
+++ b/docker/china/maca.Dockerfile
@@ -22,7 +22,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]>=3.0.0' \
+ /opt/conda/bin/python3 -m pip install 'mineru[core]>=3.4.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 09174e1c..048ef74c 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]>=3.0.0" \
+ python3 -m pip install "mineru[core]>=3.4.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 3bfb63a8..a26a23b4 100644
--- a/docker/china/musa.Dockerfile
+++ b/docker/china/musa.Dockerfile
@@ -18,7 +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[gradio]>=3.0.0" \
+ python3 -m pip install "mineru[gradio]>=3.4.0" \
"ftfy>=6.3.1,<7" \
"shapely>=2.0.7,<3" \
"pyclipper>=1.3.0,<2" \
@@ -32,4 +32,4 @@ RUN python3 -m pip install -U pip -i https://mirrors.aliyun.com/pypi/simple && \
RUN /bin/bash -c "mineru-models-download -s modelscope -m all"
# Set the entry point to activate the virtual environment and run the command line tool
-ENTRYPOINT ["/bin/bash", "-c", "export MINERU_MODEL_SOURCE=local && exec \"$@\"", "--"]
\ No newline at end of file
+ENTRYPOINT ["/bin/bash", "-c", "export MINERU_MODEL_SOURCE=local && exec \"$@\"", "--"]
diff --git a/docker/china/npu.Dockerfile b/docker/china/npu.Dockerfile
index 0ad43ce1..52047f26 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]>=3.0.0' \
+ python3 -m pip install 'mineru[core]>=3.4.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 8af39394..839078ef 100644
--- a/docker/china/ppu.Dockerfile
+++ b/docker/china/ppu.Dockerfile
@@ -18,7 +18,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]>=3.0.0' \
+ python3 -m pip install 'mineru[core]>=3.4.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 f09313ac..3d05cd90 100644
--- a/docker/global/Dockerfile
+++ b/docker/global/Dockerfile
@@ -17,7 +17,7 @@ RUN apt-get update && \
rm -rf /var/lib/apt/lists/*
# Install mineru latest
-RUN python3 -m pip install -U 'mineru[core]>=3.2.1' --break-system-packages && \
+RUN python3 -m pip install -U 'mineru[core]>=3.4.0' --break-system-packages && \
python3 -m pip cache purge
# Download models and update the configuration file