From 676570074abc9d97584329fbeb5cb6ac8eb8185f Mon Sep 17 00:00:00 2001 From: Johannes Klein Date: Wed, 2 Sep 2026 11:55:30 +0200 Subject: [PATCH] fix(Dockerfile): re-add libreoffice-math so DOCX math formulas render The v8.30.0 image slimming replaced the libreoffice metapackage with an explicit component list that omits libreoffice-math. Writer imports OMML equations as Math objects, so without the component every formula is silently dropped from converted PDFs. Fixes #1644 --- build/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/Dockerfile b/build/Dockerfile index eea90f3b..6fa57a9f 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -259,7 +259,7 @@ RUN echo "deb http://deb.debian.org/debian trixie-backports main" >> /etc/apt/so hyphen-no hyphen-or hyphen-pa hyphen-pl hyphen-pt-br hyphen-pt-pt hyphen-ro hyphen-ru hyphen-sk hyphen-sl \ hyphen-sr hyphen-sv hyphen-ta hyphen-te hyphen-th hyphen-uk hyphen-zu \ && DEBIAN_FRONTEND=noninteractive apt-get install -y -qq --no-install-recommends -t trixie-backports \ - libreoffice-writer libreoffice-calc libreoffice-impress libreoffice-draw python3-uno \ + libreoffice-writer libreoffice-calc libreoffice-impress libreoffice-draw libreoffice-math python3-uno \ # unoconverter will look for the Python binary, which has to be at version 3. && ln -s /usr/bin/python3 /usr/bin/python \ # Cleanup. @@ -386,7 +386,7 @@ RUN echo "deb http://deb.debian.org/debian trixie-backports main" >> /etc/apt/so hyphen-no hyphen-or hyphen-pa hyphen-pl hyphen-pt-br hyphen-pt-pt hyphen-ro hyphen-ru hyphen-sk hyphen-sl \ hyphen-sr hyphen-sv hyphen-ta hyphen-te hyphen-th hyphen-uk hyphen-zu \ && DEBIAN_FRONTEND=noninteractive apt-get install -y -qq --no-install-recommends -t trixie-backports \ - libreoffice-writer libreoffice-calc libreoffice-impress libreoffice-draw python3-uno \ + libreoffice-writer libreoffice-calc libreoffice-impress libreoffice-draw libreoffice-math python3-uno \ # unoconverter will look for the Python binary, which has to be at version 3. && ln -s /usr/bin/python3 /usr/bin/python \ # Cleanup.