-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile.adntools
33 lines (28 loc) · 2.06 KB
/
Dockerfile.adntools
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
FROM adnrv/texlive:tools
MAINTAINER adin
RUN (mkdir -p `kpsewhich -var-value TEXMFHOME`/tex/latex || true) &&\
# Get the normal repos
git clone https://gitlab.com/adin/mcv-academic.git `kpsewhich -var-value TEXMFHOME`/tex/latex/mcv-academic &&\
wget https://gitlab.com/adin/tikz-fa/builds/artifacts/experimental/download?job=build -O `kpsewhich -var-value TEXMFHOME`/tex/latex/artifacts.zip &&\
unzip `kpsewhich -var-value TEXMFHOME`/tex/latex/artifacts.zip -d `kpsewhich -var-value TEXMFHOME`/tex/latex/tikz-fa &&\
rm `kpsewhich -var-value TEXMFHOME`/tex/latex/artifacts.zip &&\
# Get the adn-latex repos
git clone https://gitlab.com/adn-latex/adn-latex.git `kpsewhich -var-value TEXMFHOME`/tex/latex/adn-latex &&\
git clone https://gitlab.com/adn-latex/codetools.git `kpsewhich -var-value TEXMFHOME`/tex/latex/codetools &&\
git clone https://gitlab.com/adn-latex/adnlogos.git `kpsewhich -var-value TEXMFHOME`/tex/latex/adnlogos &&\
git clone https://gitlab.com/adn-latex/adnbeamertheme.git `kpsewhich -var-value TEXMFHOME`/tex/latex/adnbeamertheme &&\
git clone https://gitlab.com/adn-latex/adnarticle.git `kpsewhich -var-value TEXMFHOME`/tex/latex/adnarticle &&\
git clone https://gitlab.com/adn-latex/beamertools.git `kpsewhich -var-value TEXMFHOME`/tex/latex/beamertools &&\
git clone https://gitlab.com/adn-latex/adnexam.git `kpsewhich -var-value TEXMFHOME`/tex/latex/adnexam &&\
git clone https://gitlab.com/adn-latex/adnmemo.git `kpsewhich -var-value TEXMFHOME`/tex/latex/adnmemo &&\
git clone https://gitlab.com/adn-latex/adnreport.git `kpsewhich -var-value TEXMFHOME`/tex/latex/adnreport &&\
git clone https://gitlab.com/adn-latex/adnlanguages.git `kpsewhich -var-value TEXMFHOME`/tex/latex/adnlanguages &&\
git clone https://gitlab.com/adn-latex/adnsyllabus.git `kpsewhich -var-value TEXMFHOME`/tex/latex/adnsyllabus &&\
# Hash to be sure to find our stuff
texhash &&\
# Clean
apt-get autoclean &&\
apt-get autoremove &&\
rm -rf /var/lib/apt/lists/* \
/tmp/* \
/var/tmp/*