-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathDockerfile
More file actions
60 lines (50 loc) · 1.6 KB
/
Dockerfile
File metadata and controls
60 lines (50 loc) · 1.6 KB
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
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 \
texlive-lang-english \
texlive-lang-french \
texlive-pictures \
texlive-latex-extra \
biber \
fonts-opendyslexic \
fonts-texgyre
# Set up tlmgr
RUN apt-get install -y gpg xz-utils # for tlmgr
RUN tlmgr init-usertree
RUN apt-get install -y --no-install-recommends python3-pip
# Python 3 utils
RUN pip3 install \
pygments \
matplotlib \
numpy \
scipy \
pandas \
scikit-learn
RUN apt-get install -y --no-install-recommends \
git \
make \
gcc \
libc6-dev \
g++
RUN apt-get install -y --no-install-recommends r-base
RUN Rscript -e "install.packages(c('knitr', 'reticulate', 'xtable'))"
RUN apt-get install -y libpython3-dev # reticulate
RUN apt-get install -y --no-install-recommends \
default-jre \
plantuml \
graphviz
# 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 dpkg-reconfigure -fnoninteractive locales
ENV LANG en_US.UTF-8
# Slim down image
RUN apt-get --purge -y remove tex.\*-doc$
RUN apt-get --purge -y remove texlive-fonts-extra
RUN apt-get clean
RUN rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*