derek-thomas HF staff commited on
Commit
40d295d
1 Parent(s): e78ffa2

Adding tex

Browse files
Files changed (1) hide show
  1. Dockerfile +13 -0
Dockerfile CHANGED
@@ -71,6 +71,19 @@ RUN --mount=target=/root/packages.txt,source=packages.txt \
71
  RUN --mount=target=/root/on_startup.sh,source=on_startup.sh,readwrite \
72
  bash /root/on_startup.sh
73
 
 
 
 
 
 
 
 
 
 
 
 
 
 
74
  RUN mkdir /data && chown user:user /data
75
 
76
  #######################################
 
71
  RUN --mount=target=/root/on_startup.sh,source=on_startup.sh,readwrite \
72
  bash /root/on_startup.sh
73
 
74
+ # Setup a minimal texlive installation
75
+ COPY texlive-profile.txt /tmp/
76
+ ENV PATH=/usr/local/texlive/bin/armhf-linux:/usr/local/texlive/bin/aarch64-linux:/usr/local/texlive/bin/x86_64-linux:$PATH
77
+ RUN wget -O /tmp/install-tl-unx.tar.gz http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz && \
78
+ mkdir /tmp/install-tl && \
79
+ tar -xzf /tmp/install-tl-unx.tar.gz -C /tmp/install-tl --strip-components=1 && \
80
+ /tmp/install-tl/install-tl --profile=/tmp/texlive-profile.txt \
81
+ && tlmgr install \
82
+ amsmath babel-english cbfonts-fd cm-super ctex doublestroke dvisvgm everysel \
83
+ fontspec frcursive fundus-calligra gnu-freefont jknapltx latex-bin \
84
+ mathastext microtype ms physics preview ragged2e relsize rsfs \
85
+ setspace standalone tipa wasy wasysym xcolor xetex xkeyval
86
+
87
  RUN mkdir /data && chown user:user /data
88
 
89
  #######################################