Skip to content

Commit 8cb53e5

Browse files
committed
Revert unoconv back to old libreoffice mirror
* OSU doesn't keep historical versions around, meaning the image build breaks after an LO patch-level release. Switch back to documentfoundation.org for now. It appears to be faster and completeing the download more reliably than it used to. * MFR didn't get updated to the OSU mirror before. Continue to point it to documentfoundation.org, but break out the mirror url into an envvar to simplify potential future changes. Also sneak in a bump to 6.0.2.1 while we're at it.
1 parent 9a6811e commit 8cb53e5

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

mfr/Dockerfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,15 @@ RUN apt-get update \
4646
curl \
4747
&& rm -rf /var/lib/apt/lists/*
4848

49-
ENV LIBREOFFICE_VERSION 6.0.1.1
50-
ENV LIBREOFFICE_ARCHIVE LibreOffice_6.0.1.1_Linux_x86-64_deb.tar.gz
49+
ENV LIBREOFFICE_VERSION 6.0.2.1
50+
ENV LIBREOFFICE_ARCHIVE LibreOffice_6.0.2.1_Linux_x86-64_deb.tar.gz
51+
ENV LIBREOFFICE_MIRROR_URL https://downloadarchive.documentfoundation.org/libreoffice/old/
5152
RUN apt-get update \
5253
&& apt-get install -y \
5354
curl \
5455
&& gpg --keyserver pool.sks-keyservers.net --recv-keys AFEEAEA3 \
55-
&& curl -SL "https://downloadarchive.documentfoundation.org/libreoffice/old/$LIBREOFFICE_VERSION/deb/x86_64/$LIBREOFFICE_ARCHIVE" -o $LIBREOFFICE_ARCHIVE \
56-
&& curl -SL "https://downloadarchive.documentfoundation.org/libreoffice/old/$LIBREOFFICE_VERSION/deb/x86_64/$LIBREOFFICE_ARCHIVE.asc" -o $LIBREOFFICE_ARCHIVE.asc \
56+
&& curl -SL "$LIBREOFFICE_MIRROR_URL/$LIBREOFFICE_VERSION/deb/x86_64/$LIBREOFFICE_ARCHIVE" -o $LIBREOFFICE_ARCHIVE \
57+
&& curl -SL "$LIBREOFFICE_MIRROR_URL/$LIBREOFFICE_VERSION/deb/x86_64/$LIBREOFFICE_ARCHIVE.asc" -o $LIBREOFFICE_ARCHIVE.asc \
5758
&& gpg --verify "$LIBREOFFICE_ARCHIVE.asc" \
5859
&& mkdir /tmp/libreoffice \
5960
&& tar -xvf "$LIBREOFFICE_ARCHIVE" -C /tmp/libreoffice/ --strip-components=1 \

unoconv/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ RUN apt-get update \
4646
RUN usermod -d /home www-data \
4747
&& chown www-data:www-data /home
4848

49-
ENV LIBREOFFICE_VERSION 6.0.2
49+
ENV LIBREOFFICE_VERSION 6.0.2.1
5050
ENV LIBREOFFICE_ARCHIVE LibreOffice_6.0.2.1_Linux_x86-64_deb.tar.gz
51-
ENV LIBREOFFICE_MIRROR_URL https://ftp.osuosl.org/pub/tdf/libreoffice/testing/
51+
ENV LIBREOFFICE_MIRROR_URL https://downloadarchive.documentfoundation.org/libreoffice/old/
5252
RUN apt-get update \
5353
&& apt-get install -y \
5454
curl \

0 commit comments

Comments
 (0)