forked from dc-uba/docker-alpine-texlive
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
29 lines (21 loc) · 964 Bytes
/
Dockerfile
File metadata and controls
29 lines (21 loc) · 964 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
27
28
29
FROM frolvlad/alpine-glibc:alpine-3.5_glibc-2.25
RUN mkdir /tmp/install-tl-unx
WORKDIR /tmp/install-tl-unx
COPY texlive.profile .
# Install TeX Live 2016 with some basic collections
RUN apk --no-cache add perl=5.24.0-r0 wget=1.18-r2 \
xz=5.2.2-r1 tar=1.29-r1 && \
wget ftp://tug.org/historic/systems/texlive/2016/install-tl-unx.tar.gz && \
tar --strip-components=1 -xvf install-tl-unx.tar.gz && \
./install-tl --repository http://repositorios.cpai.unb.br/ctan/systems/texlive/tlnet/ --profile=texlive.profile && \
tlmgr install collection-latex collection-latexextra collection-langspanish && \
apk del perl wget xz tar && \
cd && rm -rf /tmp/install-tl-unx
# Install additional packages
RUN apk --no-cache add perl=5.24.0-r0 wget=1.18-r2 && \
tlmgr install bytefield algorithms algorithm2e ec fontawesome && \
apk del perl wget && \
mkdir /workdir
ENV PATH="/usr/local/texlive/2016/bin/x86_64-linux:${PATH}"
WORKDIR /workdir
VOLUME ["/workdir"]