|
1 |
| -FROM pandoc/latex:latest as matplotlib-builder |
2 |
| -RUN apk --no-cache add \ |
3 |
| - alpine-sdk \ |
4 |
| - freetype-dev \ |
5 |
| - libpng \ |
6 |
| - libpng-dev \ |
7 |
| - pkgconf \ |
8 |
| - python3 \ |
9 |
| - python3-dev |
10 |
| -RUN pip3 install matplotlib |
| 1 | +FROM tarleb/pandoc-ubuntu:latest |
11 | 2 |
|
12 |
| -FROM pandoc/latex:latest |
13 |
| -RUN apk --no-cache add \ |
14 |
| - aspell \ |
15 |
| - aspell-en \ |
16 |
| - aspell-fr \ |
17 |
| - bash \ |
18 |
| - fontconfig \ |
19 |
| - graphviz \ |
20 |
| - inkscape \ |
21 |
| - libpng \ |
22 |
| - make \ |
23 |
| - openjdk8-jre \ |
24 |
| - python \ |
25 |
| - python3 \ |
26 |
| - ttf-dejavu \ |
27 |
| - wget |
| 3 | +ENV DEBIAN_FRONTEND noninteractive |
| 4 | +ENV DEBIAN_PRIORITY critical |
28 | 5 |
|
29 |
| -RUN tlmgr install \ |
30 |
| - adjustbox \ |
31 |
| - bibexport \ |
32 |
| - changes \ |
33 |
| - collectbox \ |
34 |
| - ifmtarg \ |
35 |
| - silence \ |
36 |
| - standalone \ |
37 |
| - todonotes \ |
38 |
| - truncate \ |
39 |
| - xifthen \ |
40 |
| - xstring |
| 6 | +RUN apt-get -q --no-allow-insecure-repositories update \ |
| 7 | + && DEBIAN_FRONTEND=noninteractive \ |
| 8 | + apt-get install --assume-yes --no-install-recommends \ |
| 9 | + aspell \ |
| 10 | + aspell-fr \ |
| 11 | + aspell-en \ |
| 12 | + default-jre \ |
| 13 | + graphviz \ |
| 14 | + imagemagick \ |
| 15 | + inkscape \ |
| 16 | + lilypond \ |
| 17 | + lmodern \ |
| 18 | + luarocks \ |
| 19 | + make \ |
| 20 | + python3 \ |
| 21 | + python3-pip \ |
| 22 | + python3-tk \ |
| 23 | + python3-numpy \ |
| 24 | + python3-matplotlib \ |
| 25 | + python-is-python3 \ |
| 26 | + texlive-bibtex-extra \ |
| 27 | + texlive-fonts-recommended \ |
| 28 | + texlive-latex-recommended \ |
| 29 | + texlive-latex-extra \ |
| 30 | + texlive-pictures \ |
| 31 | + texlive-plain-generic \ |
| 32 | + texlive-xetex \ |
| 33 | + wget |
41 | 34 |
|
42 |
| -COPY --from=matplotlib-builder \ |
43 |
| - /usr/lib/python3.6/site-packages/ \ |
44 |
| - /usr/lib/python3.6/site-packages/ |
| 35 | +ARG plantuml_jar=plantuml.1.2018.9.jar |
| 36 | +RUN wget https://sourceforge.net/projects/plantuml/files/${plantuml_jar} \ |
| 37 | + --quiet --output-document=/root/${plantuml_jar} |
| 38 | +ENV PLANTUML=/root/$plantuml_jar |
| 39 | +ENV DIFF="diff -u" |
| 40 | +ENV LC_ALL="C.UTF-8" |
| 41 | +ENV LANG="C.UTF-8" |
45 | 42 |
|
46 |
| -# Download plantuml.jar for plantuml filter |
47 |
| -ARG plantuml_filename="plantuml.1.2018.9.jar" |
48 |
| -RUN cd $HOME && \ |
49 |
| - wget --quiet https://sourceforge.net/projects/plantuml/files/$plantuml_filename && \ |
50 |
| - cd - |
51 |
| - |
52 |
| -ENV PLANTUML "/root/$plantuml_filename" |
53 |
| -ENV DIFF "diff -u" |
54 |
| - |
55 |
| -# Override entrypoint set in parent image (defaults to "/usr/bin/pandoc"). This |
56 |
| -# image should behave like a base image. |
57 |
| -ENTRYPOINT [] |
58 |
| -CMD [ "/bin/sh" ] |
| 43 | +ENTRYPOINT ["/bin/bash"] |
0 commit comments