Skip to content

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

Fix to add font to support generate English PDF (#20078)

Wang Qif5e1b4f1c0c1
diff --git a/Dockerfile_go b/Dockerfile_go
index 1b28061439..5e77e332d3 100644
--- a/Dockerfile_go
+++ b/Dockerfile_go
@@ -86,7 +86,7 @@ RUN --mount=type=cache,id=ragflow_apt,target=/var/cache/apt,sharing=locked \
echo 'Binary::apt::APT::Keep-Downloaded-Packages "true";' > /etc/apt/apt.conf.d/keep-cache && \
chmod 1777 /tmp && \
apt update && \
- apt --no-install-recommends install -y ca-certificates curl vim unzip iproute2 && \
+ apt --no-install-recommends install -y ca-certificates curl vim unzip iproute2 fonts-dejavu fonts-noto-cjk fontconfig && \
rm -rf /var/lib/apt/lists/*
# Download resource from GitHub to /usr/share/infinity