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/*