@@ -12,20 +12,32 @@ ENV LANG=C.UTF-8
12
12
ARG DEBIAN_FRONTEND=noninteractive
13
13
RUN \
14
14
apt-get update && apt-get install -y --no-install-recommends \
15
- biber \
16
15
ca-certificates \
17
16
fontconfig \
18
17
git \
19
- latexmk \
20
18
lmodern \
21
19
python-pygments \
22
- texlive-base \
23
- texlive-fonts-recommended \
24
- texlive-xetex \
25
20
wget \
26
- xzdec \
27
21
&& rm -rf /var/lib/apt/lists/*
28
22
23
+ # Setup ENV variables
24
+ ENV \
25
+ TL_BIN="install-tl-unx.tar.gz" \
26
+ PATH="$PATH:/usr/local/texlive/2018/bin/x86_64-linux"
27
+
28
+ COPY texlive.profile /opt/
29
+
30
+ # Install TeX Live
31
+ RUN \
32
+ wget -q http://mirror.ctan.org/systems/texlive/tlnet/$TL_BIN \
33
+ -O /opt/$TL_BIN \
34
+ && tar xzf /opt/$TL_BIN -C /opt/ \
35
+ && mv /opt/install-tl-2* /opt/install-tl/ \
36
+ && mv /opt/texlive.profile /opt/install-tl/ \
37
+ && cd /opt/install-tl \
38
+ && ./install-tl --profile=texlive.profile \
39
+ && rm -rf /opt/$TL_BIN /opt/$TL_DIR
40
+
29
41
# Install Fonts, mtheme, modernCV
30
42
RUN \
31
43
mkdir -p \
@@ -34,16 +46,29 @@ RUN \
34
46
&& tlmgr init-usertree \
35
47
&& tlmgr install academicons \
36
48
&& tlmgr install beamertheme-metropolis \
49
+ && tlmgr install biber \
37
50
&& tlmgr install biblatex \
38
51
&& tlmgr install ccicons \
52
+ && tlmgr install collection-fontsrecommended \
53
+ && tlmgr install collection-xetex \
54
+ && tlmgr install contour \
55
+ && tlmgr install csquotes \
39
56
&& tlmgr install fontawesome \
57
+ && tlmgr install framed \
58
+ && tlmgr install fvextra \
59
+ && tlmgr install ifplatform \
60
+ && tlmgr install import \
40
61
&& tlmgr install logreq \
62
+ && tlmgr install minted \
41
63
&& tlmgr install moderncv \
64
+ && tlmgr install pgfopts \
42
65
&& tlmgr install ulem \
66
+ && tlmgr install upquote \
67
+ && tlmgr install xstring \
43
68
&& git clone https://github.com/jpswalsh/academicons.git \
44
69
academicons \
45
70
&& find academicons/ -name "*.ttf" -exec install -m644 {} /usr/share/fonts/truetype/academicons/ \; || return 1 \
46
- && git clone https://github.com/FortAwesome/Font-Awesome/ \
71
+ && git clone https://github.com/FortAwesome/Font-Awesome/ --branch v4.7.0 \
47
72
fontawesome\
48
73
&& find fontawesome/ -name "*.ttf" -exec install -m644 {} /usr/share/fonts/truetype/fontawesome/ \; || return 1 \
49
74
&& rm -rf \
0 commit comments