Last active
July 20, 2020 14:45
-
-
Save sumutcan/fabfa9a88eaf2b0cb909c72d007ce47d to your computer and use it in GitHub Desktop.
umut/texlive-2020 dockerfile based on linvirt/texlive-2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM debian:buster-slim | |
| LABEL maintainer="Umutcan Simsek <[email protected]>" | |
| LABEL description="A TexLive 2020 image based on linvirt/texlive-2019" | |
| # Install Base | |
| RUN mkdir -p /usr/share/man/man1 | |
| RUN apt-get update \ | |
| && apt-get install -y locales python-pygments python3-pygments lua5.3 make default-jre perl perl-tk wget gnupg libdigest-perl-md5-perl libgetopt-long-descriptive-perl fontconfig \ | |
| && rm -rf /var/lib/apt/lists/* \ | |
| && localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 | |
| ENV LANG en_US.utf8 | |
| # Install Tex Live | |
| ENV TEXLIVE_VERSION 2020 | |
| ENV PATH /usr/local/texlive/$TEXLIVE_VERSION/bin/x86_64-linux:$PATH | |
| RUN mkdir -p /tmp/src/install-tl-unx \ | |
| && wget -qO- ftp://tug.org/texlive/historic/$TEXLIVE_VERSION/install-tl-unx.tar.gz | \ | |
| tar -xz -C /tmp/src/install-tl-unx --strip-components=1 \ | |
| && printf "%s\n" \ | |
| "selected_scheme scheme-full" \ | |
| "option_doc 0" \ | |
| "option_src 0" \ | |
| > /tmp/src/install-tl-unx/texlive.profile \ | |
| && /tmp/src/install-tl-unx/install-tl \ | |
| --profile=/tmp/src/install-tl-unx/texlive.profile \ | |
| && tlmgr option repository --repository http://ctan.math.illinois.edu/systems/texlive/tlnet \ | |
| && tlmgr update --self && tlmgr update --all \ | |
| && tlmgr install scheme-full && rm -Rf /tmp/src \ | |
| && apt-get clean \ | |
| && texhash \ | |
| && luaotfload-tool --update \ | |
| && rm -rf /var/lib/apt/lists/* | |
| RUN tlmgr install latexmk | |
| VOLUME ["/workspace"] | |
| WORKDIR /workspace |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment