Skip to content

Commit 4d2e044

Browse files
committed
ENG-8355 | MFR Update libreoffice version in dockerfile
1 parent 7ca4004 commit 4d2e044

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

Dockerfile

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ RUN usermod -d /home www-data \
77
&& chown www-data:www-data /home \
88
# -slim images strip man dirs, but java won't install unless this dir exists.
99
&& mkdir -p /usr/share/man/man1 \
10+
&& echo "deb http://deb.debian.org/debian bookworm-backports main" > /etc/apt/sources.list.d/backports.list \
1011
&& apt-get update \
1112
# HACK: work around bug in install java (dep of libreoffice)
1213
&& apt-get install -y ca-certificates-java \
@@ -32,10 +33,15 @@ RUN usermod -d /home www-data \
3233
freecad \
3334
# pspp dependencies
3435
pspp \
35-
# unoconv dependencies
36-
libreoffice \
3736
# grab gosu for easy step-down from root
3837
gosu \
38+
# unoconv dependencies
39+
&& apt-get -t bookworm-backports install -y \
40+
libreoffice-core \
41+
libreoffice-writer \
42+
libreoffice-calc \
43+
libreoffice-impress \
44+
libreoffice-java-common \
3945
&& apt-get clean \
4046
&& apt-get autoremove -y \
4147
&& rm -rf /var/lib/apt/lists/*

0 commit comments

Comments
 (0)