forked from thisirs/latex-render
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
61 lines (52 loc) · 1.59 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
FROM debian:sid-slim
MAINTAINER Sylvain Rousseau <thisirs@gmail.com>
# Recreate non-existent directories
RUN mkdir -p /usr/share/man/man1 /usr/share/man/man2 /usr/share/man/man3 /usr/share/man/man4 /usr/share/man/man5 /usr/share/man/man6 /usr/share/man/man7 /usr/share/man/man8
RUN apt-get update
RUN apt-get install -y --no-install-recommends \
texlive-full \
biber
RUN apt-get install -y --no-install-recommends \
python-matplotlib \
python-numpy \
python-pygments \
python-scipy \
python3-matplotlib \
python3-numpy \
python3-scipy
RUN apt-get install -y --no-install-recommends \
r-base \
r-cran-knitr \
r-cran-xtable
# epub, html version
RUN apt-get install -y --no-install-recommends \
calibre \
dvipng \
fonts-liberation \
imagemagick \
inkscape \
ruby \
scour \
pandoc \
tidy \
python3-html5-parser \
python3-lxml
RUN apt-get install -y --no-install-recommends \
plantuml \
graphviz
RUN apt-get install -y --no-install-recommends \
git \
make
# Locale
RUN apt-get install -y locales
RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen
RUN echo "fr_FR.UTF-8 UTF-8" >> /etc/locale.gen
RUN locale-gen
RUN echo "LC_ALL=fr_FR.UTF-8" >> /etc/profile
RUN echo "LANG=fr_FR.UTF-8" >> /etc/profile
RUN echo "export LC_ALL" >> /etc/profile
RUN echo "export LANG" >> /etc/profile
# Slim down image
RUN apt-get --purge -y remove tex.\*-doc$
RUN apt-get clean
RUN rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*