-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
42 lines (36 loc) · 861 Bytes
/
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
FROM buildpack-deps:disco
LABEL maintainer="frederik@progras.dk"
LABEL version="0.6"
RUN set -ex \
\
&& buildDeps=' \
xzdec \
bison \
libgdbm-dev \
lmodern \
texlive \
texlive-fonts-recommended \
texlive-lang-english \
texlive-lang-european \
texlive-latex-extra \
texlive-latex-recommended \
texlive-science \
texlive-pictures \
texlive-science \
biber \
texlive-bibtex-extra \
latexmk \
python-dev \
python-pip \
' && apt-get update \
&& apt-get install -y --no-install-recommends $buildDeps \
&& rm -rf /var/lib/apt/lists/* \
&& apt-get clean
WORKDIR /tmp
COPY aliases.sh /tmp
SHELL [ "/tmp/aliases.sh" ]
RUN tlmgr init-usertree
# RUN tlmgr conf tlmgr persistent-downloads 0
RUN tlmgr install inconsolata
RUN pip install --upgrade pip==9.0.3 \
&& pip install Pygments