init
This commit is contained in:
commit
718b3f3bc0
43
Dockerfile
Normal file
43
Dockerfile
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
FROM ubuntu:rolling
|
||||||
|
MAINTAINER luki42
|
||||||
|
|
||||||
|
ENV PATH=/usr/local/texlive/bin/x86_64-linux:$PATH
|
||||||
|
|
||||||
|
COPY ./texlive-profile.txt /tmp/
|
||||||
|
COPY ./debian-equivs.txt /tmp/
|
||||||
|
|
||||||
|
# set up packages
|
||||||
|
RUN apt-get update -qq &&\
|
||||||
|
apt-get install --no-install-recommends -y \
|
||||||
|
equivs \
|
||||||
|
wget \
|
||||||
|
perl \
|
||||||
|
libfontconfig1 \
|
||||||
|
&& \
|
||||||
|
\
|
||||||
|
# Install texlive
|
||||||
|
wget -O /tmp/install-tl-unx.tar.gz http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz && \
|
||||||
|
mkdir /tmp/install-tl && \
|
||||||
|
tar -xzf /tmp/install-tl-unx.tar.gz -C /tmp/install-tl --strip-components=1 && \
|
||||||
|
/tmp/install-tl/install-tl --profile=/tmp/texlive-profile.txt && \
|
||||||
|
\
|
||||||
|
# Install equivalent packages
|
||||||
|
cd /tmp && \
|
||||||
|
equivs-control texlive-local && \
|
||||||
|
equivs-build debian-equivs.txt && \
|
||||||
|
dpkg -i texlive-local*.deb && \
|
||||||
|
apt-get install -f && \
|
||||||
|
\
|
||||||
|
# Clean up
|
||||||
|
apt-get autoclean && \
|
||||||
|
apt-get autoremove && \
|
||||||
|
rm -rf /var/lib/apt/lists/* \
|
||||||
|
/tmp/* \
|
||||||
|
/var/tmp/* && \
|
||||||
|
tlmgr update --self && \
|
||||||
|
tlmgr install scheme-full
|
||||||
|
|
||||||
|
|
||||||
|
# Expose /home as workin dir
|
||||||
|
WORKDIR /home
|
||||||
|
VOLUME ["/home"]
|
40
debian-equivs.txt
Normal file
40
debian-equivs.txt
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
Section: misc
|
||||||
|
Priority: optional
|
||||||
|
Standards-Version: 4.1.4
|
||||||
|
|
||||||
|
Package: texlive-local
|
||||||
|
Version: 1.0-rolling
|
||||||
|
Maintainer: adin <adin@ic.unicamp.br>
|
||||||
|
Provides: chktex, biblatex, biblatex-dw, cm-super, cm-super-minimal, context,
|
||||||
|
dvidvi, dvipng, feynmf, fragmaster, jadetex, lacheck, latex-beamer,
|
||||||
|
latex-cjk-all, latex-cjk-chinese, latex-cjk-chinese-arphic-bkai00mp,
|
||||||
|
latex-cjk-chinese-arphic-bsmi00lp, latex-cjk-chinese-arphic-gbsn00lp,
|
||||||
|
latex-cjk-chinese-arphic-gkai00mp, latex-cjk-common, latex-cjk-japanese,
|
||||||
|
latex-cjk-japanese-wadalab, latex-cjk-korean, latex-cjk-thai, latexdiff,
|
||||||
|
latexmk, latex-sanskrit, latex-xcolor, lcdf-typetools, lmodern, luatex,
|
||||||
|
musixtex, passivetex, pgf, preview-latex-style, prosper, ps2eps, psutils,
|
||||||
|
purifyeps, t1utils, tex4ht, tex4ht-common, tex-gyre, texlive, texlive-base,
|
||||||
|
texlive-bibtex-extra, texlive-binaries, texlive-common, texlive-extra-utils,
|
||||||
|
texlive-fonts-extra, texlive-fonts-extra-doc, texlive-fonts-recommended,
|
||||||
|
texlive-fonts-recommended-doc, texlive-font-utils, texlive-formats-extra,
|
||||||
|
texlive-games, texlive-generic-extra, texlive-generic-recommended,
|
||||||
|
texlive-humanities, texlive-humanities-doc, texlive-lang-african,
|
||||||
|
texlive-lang-all, texlive-lang-arabic, texlive-lang-cjk, texlive-lang-cyrillic,
|
||||||
|
texlive-lang-czechslovak, texlive-lang-english, texlive-lang-european,
|
||||||
|
texlive-lang-japanese, texlive-lang-chinese, texlive-lang-korean,
|
||||||
|
texlive-lang-french, texlive-lang-german, texlive-lang-greek,
|
||||||
|
texlive-lang-indic, texlive-lang-italian, texlive-lang-other,
|
||||||
|
texlive-lang-polish, texlive-lang-portuguese, texlive-lang-spanish,
|
||||||
|
texlive-latex-base, texlive-latex-base-doc, texlive-latex-extra,
|
||||||
|
texlive-latex-extra-doc, texlive-latex-recommended,
|
||||||
|
texlive-latex-recommended-doc, texlive-luatex, texlive-math-extra,
|
||||||
|
texlive-metapost, texlive-metapost-doc, texlive-music,
|
||||||
|
texlive-omega, texlive-pictures, texlive-pictures-doc, texlive-plain-extra,
|
||||||
|
texlive-plain-generic,
|
||||||
|
texlive-pstricks, texlive-pstricks-doc, texlive-publishers,
|
||||||
|
texlive-publishers-doc, texlive-science, texlive-science-doc, texlive-xetex,
|
||||||
|
thailatex, tipa, tipa-doc, xindy, xindy-rules, xmltex, asymptote, texinfo
|
||||||
|
Architecture: all
|
||||||
|
Description: My local installation of TeX Live.
|
||||||
|
A full "vanilla" TeX Live
|
||||||
|
http://tug.org/texlive/debian#vanilla
|
10
texlive-profile.txt
Normal file
10
texlive-profile.txt
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
selected_scheme scheme-minimal
|
||||||
|
TEXDIR /usr/local/texlive
|
||||||
|
TEXMFCONFIG ~/.texlive/texmf-config
|
||||||
|
TEXMFHOME ~/texmf
|
||||||
|
TEXMFLOCAL /usr/local/texlive/texmf-local
|
||||||
|
TEXMFSYSCONFIG /usr/local/texlive/texmf-config
|
||||||
|
TEXMFSYSVAR /usr/local/texlive/texmf-var
|
||||||
|
TEXMFVAR ~/.texlive/texmf-var
|
||||||
|
option_doc 0
|
||||||
|
option_src 0
|
Loading…
Reference in New Issue
Block a user