Building Docker images for TeXLive
| Image | Available tags | Description |
|---|---|---|
| TeXLive-2017 | minimal, basic, small, full | Docker image with TeXLive-2017. |
| TeXLive-2018 | minimal, basic, small, full | Docker image with TeXLive-2018. |
| TeXLive-2019 | minimal, basic, small, full | Docker image with TeXLive-2019. |
| TeXLive-2020 | minimal, basic, small, full | Docker image with TeXLive-2020. |
| TeXLive-2021 | minimal, basic, small, full | Docker image with TeXLive-2021. |
| TeXLive-2024 | minimal, basic, small, full | Docker image with TeXLive-2024. |
Contains TeXLive distributions for different years with additional python-pygments library for source code highlighting via minted package. Also contains Pandoc which is a free and open-source document converter, widely used as a writing tool (especially by scholars) and as a basis for publishing workflows.
From the interactive docker shell, pull this image with:
docker pull sumankhanal/texlive-<year>:<tag>
Tags available are minimal, basic, small and full.
If you work with Latex documents, this is useful to compile your document independent of OS and without the need to install anything. All the compilers: pdflatex, xelatex and lualatex are available in images with tag small and full.
You can easily convert markdown documents to pdf with pandoc.
Note:
- For old
texliveversions, before runningtlmgr install, run the commandtlmgr option repository http://ftp.math.utah.edu/pub/tex/historic/systems/texlive/<year>/tlnet-final/ && tlmgr update --self. Substitute<year>matching with the oldtexliveversion. For example, if you want to usetexlive-2021whentexlive-2024is already released, do
tlmgr option repository http://ftp.math.utah.edu/pub/tex/historic/systems/texlive/2021/tlnet-final/ && tlmgr update --self
tlmgr install <your-package>
-
For compiling your beamer slides and thesis, image with
smalltag is adequate -
Or you can install
beamerandmintedpackages with commandtlmgr install beamer mintedin image withbasictag. This way pulling image will be faster with less space consumption.
For detailed reading on TeXLive documentation, go here.
If it helped you in your work, consider buying me a coffee.