Skip to content

Commit 9a6811e

Browse files
authored
Merge pull request #39 from felliott/feature/libreoffice-mirror
unoconv: upgrade LO version, use alternative mirror
2 parents e749dd4 + 106a0aa commit 9a6811e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

unoconv/Dockerfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,15 @@ 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.1.1
50-
ENV LIBREOFFICE_ARCHIVE LibreOffice_6.0.1.1_Linux_x86-64_deb.tar.gz
49+
ENV LIBREOFFICE_VERSION 6.0.2
50+
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/
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 \

0 commit comments

Comments
 (0)