forked from andygrunwald/FOM-LaTeX-Template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
31 lines (25 loc) · 915 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
# Dockerfile for https://github.com/andygrunwald/FOM-LaTeX-Template
#
# Example usage:
# docker run -it --rm -v ${PWD}:/data andygrunwald/fom-latex-template
#
FROM ubuntu:14.04
ENV DEBIAN_FRONTEND noninteractive
RUN echo 'deb http://ppa.launchpad.net/jonathonf/texlive-2016/ubuntu trusty main' > /etc/apt/sources.list.d/texlive.list \
&& echo 'deb-src http://ppa.launchpad.net/jonathonf/texlive-2016/ubuntu trusty main' >> /etc/apt/sources.list.d/texlive.list \
&& apt-key adv --keyserver keyserver.ubuntu.com --recv-key F06FC659 \
&& apt-get update \
&& apt-get install -y \
wget \
texlive-latex-recommended \
texlive-latex-extra \
texlive-fonts-recommended \
texlive-bibtex-extra \
texlive-lang-german \
texlive-generic-extra \
biber \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
VOLUME ["/data"]
WORKDIR /data
CMD pdflatex --version && biber --version && ./compile.sh