From 88a04fda5a159f4d4af1005a6392e9695be1a2f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E6=BD=AE?= Date: Sun, 21 Dec 2025 14:44:03 +0800 Subject: [PATCH] Install X11 libraries --- installer/Dockerfile | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/installer/Dockerfile b/installer/Dockerfile index 150dbb85..1ad1f421 100644 --- a/installer/Dockerfile +++ b/installer/Dockerfile @@ -76,8 +76,24 @@ ENV MAXKB_VERSION="${DOCKER_IMAGE_TAG} (build at ${BUILD_AT}, commit: ${GITHUB_C PIP_TARGET=/opt/maxkb/python-packages # Install poppler-utils for PDF processing (required by MinerU) +# Install X11 libraries for LibreOffice (required for headless operation) RUN apt-get update && \ - apt-get install -y --no-install-recommends poppler-utils && \ + apt-get install -y --no-install-recommends \ + poppler-utils \ + libxinerama1 \ + libxi6 \ + libxrender1 \ + libxtst6 \ + libxrandr2 \ + libxext6 \ + libxfixes3 \ + libxcursor1 \ + libxcomposite1 \ + libxdamage1 \ + libxss1 \ + libxt6 \ + libsm6 \ + libice6 && \ apt-get clean all && \ rm -rf /var/lib/apt/lists/*