A minimal image containing a Linux and a recent texlive.
Based on frolvlad/alpine-glibc
, this SO post,
and some hints from this repo.
You have to install all packages manually using tlmgr
, like
RUN tlmgr install babel-english hyperref latex latex-fonts
or from a file:
COPY packages.txt /tmp/packages.txt
RUN tlmgr install $(cat /tmp/packages.txt)