-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
32 lines (23 loc) · 1.1 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
FROM debian:8
MAINTAINER weirdgiraffe <[email protected]>
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get install -y perl wget python
COPY texlive.profile /
ENV PATH=/usr/local/texlive/2016/bin/x86_64-linux:$PATH \
INFOPATH=/usr/local/texlive/2016/texmf-dist/doc/info \
MANPATH=/usr/local/texlive/2016/texmf-dist/doc/man
RUN wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz \
&& tar xzf install-tl-unx.tar.gz
RUN cd install-tl-*/ \
&& ./install-tl -profile /texlive.profile
RUN tlmgr install texliveonfly \
&& rm -rf /install-tl-*
RUN echo "deb http://httpredir.debian.org/debian jessie main contrib non-free" > /etc/apt/sources.list \
&& echo "deb http://httpredir.debian.org/debian jessie-updates main contrib non-free" >> /etc/apt/sources.list \
&& echo "deb http://security.debian.org jessie/updates main contrib non-free" >> /etc/apt/sources.list
RUN apt-get update \
&& apt-get install -y fontconfig make fonts-font-awesome ttf-anonymous-pro ttf-mscorefonts-installer \
&& apt-get clean
WORKDIR /sources
ENTRYPOINT ["bash"]