-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
108 lines (103 loc) · 1.94 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
FROM frolvlad/alpine-glibc:alpine-3.12_glibc-2.32
LABEL maintainer="AJIOB <[email protected]>"
LABEL version="1.2.0"
# Config the automated install
COPY texlive.profile texlive.profile
# set up packages
## &&
# Remove unnecessary archieves
RUN apk add --no-cache wget perl xz && \
wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz && \
tar -xzf install-tl-unx.tar.gz && \
install-tl-20*/install-tl --profile=./texlive.profile && \
apk --no-cache del xz \
&& \
rm install-tl-unx.tar.gz texlive.profile && \
rm -r install-tl-20*
# set up path
ENV PATH="/usr/local/texlive/bin/x86_64-linuxmusl:${PATH}"
# TeXLive update
## &&
# TeXLive deps
## &&
# TeXLive packages
## hyphen-* for english/russial lang word wraps support
## xstring for string switch-cases
## latexmk for fast build target
## xetex for xelatex compiler
## multibib for multiple bibliographies
## cleveref for nice grouping references
## t2 for mathtext
## tools for indentfirst
## oberdiek for ifpdf
## bigfoot for perpage
## zapfding for pzdr
## koma-script for tocbasic
## * for -//-
## &&
# Windows fonts
## &&
# Other tools
RUN tlmgr update --self \
&& \
apk add --no-cache fontconfig \
&& \
tlmgr install \
\
hyphen-english \
hyphen-russian \
\
latexmk \
xetex \
polyglossia \
t2 \
tools \
oberdiek \
bigfoot \
zapfding \
xstring \
datetime \
nomencl \
\
geometry \
setspace \
footmisc \
tocloft \
fancyhdr \
titlesec \
graphics \
graphics-cfg \
caption \
amsmath \
amscls \
mathspec \
enumitem \
makecell \
multirow \
was \
SIstyle \
xcolor \
listings \
ulem \
hyperref \
latexconfig \
url \
natbib \
lastpage \
totcount \
pdfpages \
textcase \
fp \
extsizes \
fmtcount \
koma-script \
pdflscape \
multibib \
cleveref \
&& \
apk add --no-cache \
msttcorefonts-installer \
&& update-ms-fonts \
&& fc-cache -f \
&& \
apk add --no-cache make