Skip to content

Commit

Permalink
update to libreoffice24
Browse files Browse the repository at this point in the history
  • Loading branch information
EugenMayer committed Jun 3, 2024
1 parent e104fb0 commit 3ecde10
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,15 @@ ENV NONPRIVGROUP=jodconverter

COPY --from=jresource /jre $JAVA_HOME

RUN apt-get update && apt-get -y install \
# using backports for libreoffice 24.x (bookworm has 7.x)
RUN echo 'deb http://deb.debian.org/debian bookworm-backports main' > /etc/apt/sources.list.d/backports.list \
apt-get update && apt-get -y install \
apt-transport-https locales-all libpng16-16 libxinerama1 libgl1-mesa-glx libfontconfig1 libfreetype6 libxrender1 \
libxcb-shm0 libxcb-render0 adduser cpio findutils gosu \
# procps needed for us finding the libreoffice process, see https://github.com/sbraconnier/jodconverter/issues/127#issuecomment-463668183
procps \
&& apt-get -y install libreoffice libreoffice-java-common --no-install-recommends \
# using backports for libreoffice 24.x (bookworm has 7.x)
&& apt-get -y install -t bookworm-backports libreoffice libreoffice-base libreoffice-common libreoffice-base-core \
&& groupadd $NONPRIVGROUP \
&& useradd -m $NONPRIVUSER -g $NONPRIVGROUP \
&& rm -rf /var/lib/apt/lists/*
Expand Down

0 comments on commit 3ecde10

Please sign in to comment.