Skip to content

[ENG-8355] | MFR Update libreoffice version in dockerfile #386

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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/*
Expand Down