Install X11 libraries
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run

This commit is contained in:
朱潮 2025-12-21 14:44:03 +08:00
parent 817b8cc014
commit 88a04fda5a

View File

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