From 12277e4194c744f9e840133355597cc800810fd3 Mon Sep 17 00:00:00 2001 From: Andriy Sheredko Date: Tue, 15 Jul 2025 15:46:39 +0300 Subject: [PATCH] ENG-8355 | MFR Update libreoffice version in dockerfile --- Dockerfile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index de809996..96f4b575 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,7 @@ RUN usermod -d /home www-data \ && chown www-data:www-data /home \ # -slim images strip man dirs, but java won't install unless this dir exists. && mkdir -p /usr/share/man/man1 \ + && echo "deb http://deb.debian.org/debian bookworm-backports main" > /etc/apt/sources.list.d/backports.list \ && apt-get update \ # HACK: work around bug in install java (dep of libreoffice) && apt-get install -y ca-certificates-java \ @@ -32,10 +33,15 @@ RUN usermod -d /home www-data \ freecad \ # pspp dependencies pspp \ - # unoconv dependencies - libreoffice \ # grab gosu for easy step-down from root gosu \ + # unoconv dependencies + && apt-get -t bookworm-backports install -y \ + libreoffice-core \ + libreoffice-writer \ + libreoffice-calc \ + libreoffice-impress \ + libreoffice-java-common \ && apt-get clean \ && apt-get autoremove -y \ && rm -rf /var/lib/apt/lists/*