File tree Expand file tree Collapse file tree 1 file changed +21
-3
lines changed Expand file tree Collapse file tree 1 file changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -23,9 +23,6 @@ RUN apt-get update \
23
23
libtiff5-dev \
24
24
# convert .step to jsc3d-compatible format
25
25
freecad \
26
- # unoconv dependencies
27
- && apt-get install -y \
28
- unoconv \
29
26
# pspp dependencies
30
27
&& apt-get install -y \
31
28
pspp \
@@ -49,6 +46,27 @@ RUN apt-get update \
49
46
curl \
50
47
&& rm -rf /var/lib/apt/lists/*
51
48
49
+ ENV LIBREOFFICE_VERSION 6.0.1.1
50
+ ENV LIBREOFFICE_ARCHIVE LibreOffice_6.0.1.1_Linux_x86-64_deb.tar.gz
51
+ RUN apt-get update \
52
+ && apt-get install -y \
53
+ curl \
54
+ && 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 \
57
+ && gpg --verify "$LIBREOFFICE_ARCHIVE.asc" \
58
+ && mkdir /tmp/libreoffice \
59
+ && tar -xvf "$LIBREOFFICE_ARCHIVE" -C /tmp/libreoffice/ --strip-components=1 \
60
+ && dpkg -i /tmp/libreoffice/**/*.deb \
61
+ && rm $LIBREOFFICE_ARCHIVE* \
62
+ && rm -Rf /tmp/libreoffice \
63
+ && apt-get clean \
64
+ && apt-get autoremove -y \
65
+ curl \
66
+ && rm -rf /var/lib/apt/lists/*
67
+
68
+ RUN pip install unoconv==0.8.2
69
+
52
70
ENV SOURCE_BRANCH master
53
71
ENV SOURCE_REPO https://github.com/CenterForOpenScience/modular-file-renderer.git
54
72
ENV WHEELHOUSE /home/.cache/wheelhouse
You can’t perform that action at this time.
0 commit comments