Skip to content

Commit 83b9898

Browse files
committed
Merge branch 'release/19.1.0'
2 parents d8cdfdd + d5b49a1 commit 83b9898

File tree

3 files changed

+16
-34
lines changed

3 files changed

+16
-34
lines changed

CHANGELOG

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
ChangeLog
33
*********
44

5+
19.1.0 (2019-09-25)
6+
===================
7+
- Feature: Update MFR's Dockerfile to be based off of Debian Buster and install LibreOffice via
8+
apt-get. It had been pulling down a LibreOffice .deb from LO's archive, but they only make the most
9+
recent patch version available. This meant that the Dockerfile had to be update with every patch
10+
release. The version in Debian Buster is v6.1.5.
11+
512
19.0.2 (2019-06-21)
613
===================
714
- Fix: Update MFR dependencies on jinja and mistune python libraries.

Dockerfile

Lines changed: 8 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
FROM python:3.5-slim-stretch
1+
FROM python:3.5-slim-buster
22

33
# ensure unoconv can locate the uno library
4-
ENV PYTHONPATH=/usr/lib/python3/dist-packages
4+
ENV PYTHONPATH /usr/lib/python3/dist-packages
55

66
RUN usermod -d /home www-data \
77
&& chown www-data:www-data /home \
8+
# -slim images strip man dirs, but java won't install unless this dir exists.
9+
&& mkdir -p /usr/share/man/man1 \
810
&& apt-get update \
911
# mfr dependencies
1012
&& apt-get install -y \
@@ -27,6 +29,8 @@ RUN usermod -d /home www-data \
2729
freecad \
2830
# pspp dependencies
2931
pspp \
32+
# unoconv dependencies
33+
libreoffice \
3034
# gosu dependencies
3135
curl \
3236
gnupg2 \
@@ -53,37 +57,8 @@ RUN usermod -d /home www-data \
5357
&& rm -rf /var/lib/apt/lists/* \
5458
&& pip install -U pip \
5559
&& pip install setuptools==37.0.0 \
56-
&& mkdir -p /code
57-
58-
ENV LIBREOFFICE_VERSION 6.1.6
59-
ENV LIBREOFFICE_ARCHIVE LibreOffice_6.1.6_Linux_x86-64_deb.tar.gz
60-
ENV LIBREOFFICE_MIRROR_URL https://download.documentfoundation.org/libreoffice/stable/
61-
RUN apt-get update \
62-
&& apt-get install -y \
63-
curl \
64-
gnupg2 \
65-
&& for server in hkp://ipv4.pool.sks-keyservers.net:80 \
66-
hkp://ha.pool.sks-keyservers.net:80 \
67-
hkp://pgp.mit.edu:80 \
68-
hkp://keyserver.pgp.com:80 \
69-
; do \
70-
gpg --keyserver "$server" --recv-keys AFEEAEA3 && break || echo "Trying new server..." \
71-
; done \
72-
&& curl -SL "$LIBREOFFICE_MIRROR_URL/$LIBREOFFICE_VERSION/deb/x86_64/$LIBREOFFICE_ARCHIVE" -o $LIBREOFFICE_ARCHIVE \
73-
&& curl -SL "$LIBREOFFICE_MIRROR_URL/$LIBREOFFICE_VERSION/deb/x86_64/$LIBREOFFICE_ARCHIVE.asc" -o $LIBREOFFICE_ARCHIVE.asc \
74-
&& gpg --verify "$LIBREOFFICE_ARCHIVE.asc" \
75-
&& mkdir /tmp/libreoffice \
76-
&& tar -xvf "$LIBREOFFICE_ARCHIVE" -C /tmp/libreoffice/ --strip-components=1 \
77-
&& dpkg -i /tmp/libreoffice/**/*.deb \
78-
&& rm $LIBREOFFICE_ARCHIVE* \
79-
&& rm -Rf /tmp/libreoffice \
80-
&& apt-get clean \
81-
&& apt-get autoremove -y \
82-
curl \
83-
gnupg2 \
84-
&& rm -rf /var/lib/apt/lists/*
85-
86-
RUN pip install unoconv==0.8.2
60+
&& mkdir -p /code \
61+
&& pip install unoconv==0.8.2
8762

8863
WORKDIR /code
8964

mfr/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '19.0.2'
1+
__version__ = '19.1.0'

0 commit comments

Comments
 (0)