forked from blang/latex-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.basic
More file actions
26 lines (20 loc) · 803 Bytes
/
Dockerfile.basic
File metadata and controls
26 lines (20 loc) · 803 Bytes
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
FROM ubuntu:xenial
MAINTAINER Benedikt Lang <mail@blang.io>
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update -q \
&& apt-get install -qy build-essential wget libfontconfig1 \
&& rm -rf /var/lib/apt/lists/*
# Install TexLive with scheme-basic
RUN wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz; \
mkdir /install-tl-unx; \
tar -xvf install-tl-unx.tar.gz -C /install-tl-unx --strip-components=1; \
echo "selected_scheme scheme-basic" >> /install-tl-unx/texlive.profile; \
/install-tl-unx/install-tl -profile /install-tl-unx/texlive.profile; \
rm -r /install-tl-unx; \
rm install-tl-unx.tar.gz
ENV PATH="/usr/local/texlive/2017/bin/x86_64-linux:${PATH}"
ENV HOME /data
WORKDIR /data
# Install latex packages
RUN tlmgr install latexmk
VOLUME ["/data"]