forked from Paperist/texlive-ja
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
executable file
·39 lines (30 loc) · 1.22 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
33
34
35
36
37
38
39
# Copyright (c) 2016 Kaito Udagawa
# Copyright (c) 2016-2017 3846masa
# Released under the MIT license
# https://opensource.org/licenses/MIT
FROM frolvlad/alpine-glibc
MAINTAINER lafr4nc3
ENV PATH /usr/local/texlive/2017/bin/x86_64-linux:$PATH
RUN apk --no-cache add perl wget xz tar fontconfig-dev ghostscript gnuplot && \
mkdir /tmp/install-tl-unx && \
wget -qO- ftp://tug.org/texlive/historic/2017/install-tl-unx.tar.gz | \
tar -xz -C /tmp/install-tl-unx --strip-components=1 && \
printf "%s\n" \
"selected_scheme scheme-basic" \
"option_doc 0" \
"option_src 0" \
> /tmp/install-tl-unx/texlive.profile && \
/tmp/install-tl-unx/install-tl \
--profile=/tmp/install-tl-unx/texlive.profile && \
tlmgr install \
collection-basic collection-latex collection-luatex collection-mathscience collection-pictures collection-fontutils \
collection-latexrecommended collection-latexextra \
collection-fontsrecommended collection-langjapanese latexmk && \
( tlmgr install xetex || exit 0 ) && \
rm -fr /tmp/install-tl-unx && \
apk --no-cache del xz tar fontconfig-dev
RUN apk --no-cache add bash
RUN mkdir /workdir
WORKDIR /workdir
VOLUME ["/workdir"]
CMD ["bash"]