Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

fix: the pdf generation issue in agent (#18673)

Sbaaoui Idrissba31ec43a129
diff --git a/Dockerfile b/Dockerfile
index 9855a65969..c4e7ce8c43 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -51,7 +51,7 @@ RUN --mount=type=cache,id=ragflow_apt,target=/var/cache/apt,sharing=locked \
apt --no-install-recommends install -y ca-certificates \
libglib2.0-0 libglx-mesa0 libgl1 pkg-config libgdiplus default-jdk libatk-bridge2.0-0 \
libgtk-4-1 libnss3 xdg-utils libjemalloc-dev gnupg unzip curl wget git vim less \
- ghostscript pandoc texlive texlive-latex-extra texlive-xetex texlive-lang-chinese \
+ ghostscript pandoc lmodern texlive texlive-latex-extra texlive-xetex texlive-lang-chinese \
fonts-freefont-ttf fonts-noto-cjk postgresql-client
# Download resource from GitHub to /usr/share/infinity
diff --git a/Dockerfile_base b/Dockerfile_base
index 061016c325..6c3e5ce8cb 100644
--- a/Dockerfile_base
+++ b/Dockerfile_base
@@ -49,7 +49,7 @@ RUN --mount=type=cache,id=ragflow_apt,target=/var/cache/apt,sharing=locked \
build-essential libicu-dev libpython3-dev libgbm-dev rsync \
libglib2.0-0 libglx-mesa0 libgl1 pkg-config libgdiplus default-jdk libatk-bridge2.0-0 \
libgtk-4-1 libnss3 xdg-utils libjemalloc-dev gnupg unzip curl wget git vim less \
- ghostscript pandoc texlive texlive-latex-extra texlive-xetex texlive-lang-chinese \
+ ghostscript pandoc lmodern texlive texlive-latex-extra texlive-xetex texlive-lang-chinese \
fonts-freefont-ttf fonts-noto-cjk postgresql-client
# Download resource from GitHub to /usr/share/infinity