From 1c491fb1c55b96c861ac130d27534bf67e37d358 Mon Sep 17 00:00:00 2001 From: Julien Neuhart Date: Wed, 5 Jan 2022 14:59:38 +0100 Subject: [PATCH] fix: use bullseye-backports distribution instead of sid for installing LibreOffice (fix #403) --- build/Dockerfile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/build/Dockerfile b/build/Dockerfile index 36bcbc31..4bc48145 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -118,11 +118,13 @@ RUN \ # Install Google Chrome / Chromium. /tmp/install-chromium.sh &&\ # Install LibreOffice. - # Note: we use the sid distribution to get the latest LibreOffice version. - # See https://github.com/gotenberg/gotenberg/pull/322. - echo "deb https://httpredir.debian.org/debian/ sid main contrib non-free" >> /etc/apt/sources.list &&\ + # Note: we use the bullseye-backports distribution to get the latest LibreOffice version. + # See: + # https://github.com/gotenberg/gotenberg/pull/322. + # https://github.com/gotenberg/gotenberg/issues/403. + echo "deb https://httpredir.debian.org/debian/ bullseye-backports main contrib non-free" >> /etc/apt/sources.list &&\ apt-get update -qq &&\ - DEBIAN_FRONTEND=noninteractive apt-get install -y -qq --no-install-recommends -t sid libreoffice &&\ + DEBIAN_FRONTEND=noninteractive apt-get install -y -qq --no-install-recommends -t bullseye-backports libreoffice &&\ # Download unoconv (Python script). curl -Ls https://raw.githubusercontent.com/dagwieers/unoconv/master/unoconv -o /usr/bin/unoconv &&\ chmod +x /usr/bin/unoconv &&\