I'm building a script for a CI to get a docker image with minimal distribution of Texlive possible, I specifically want to avoid pulling 5 Gb of
texlive-full everytime I need this docker image.
Right now I see this script as
tlmgr install latexmk
tlmgr install texliveonfly
texliveonfly -c latexmk -a "-pdf -f -synctex=0" myFile.tex(install missing tex packages and compile with
- deploy results and cache the tex-related part of the image.
Which package should I chose for
texlive-something so that these steps work? Thanks in advance.
It seems that the word minimal can lead to some confusion. In this case it means (for a package)
Has a set of binaries (
perl, I might be missing something) that would allow me to compile an empty document. Should I need some other binaries, I'm ok with adding this dependencies by hand
Contains a minimal set of LaTeX packages so that an empty document would compile. If I understand correctly, most other packages will be handled by
texliveonfly(barring some esoteric cases, of course, but that can be handled manually, too).
In other words, minimal in terms of total disk space under the hypothesis that an empty document compiles using the instruments I mentioned.