docker-ized TeX Live instead of (outdated) distribution package
321
See https://gitlab.inf.unibz.it/commul/docker/tools/texlive for more details.
To use these docker containers from hub.docker.com the URLs form the examples need to be adjusted:
A URL like gitlab.inf.unibz.it:4567/commul/docker/tools/texlive/2020/full:2021.01, which points to
01) build of 2021 (2021.01)2020 versionbecomes: commul/texlive:2020-2021.01.
This is a Dockerfile/Earthly repository of FULL TeX Live installation (but without src/doc/...).
The main repository is:
The main (internal) container registry is:
The (additional) external container registry is:
dockerThe working directory inside the container is /docs and the variable $PWD contains the path of the current directory.
docker run \
--rm \
--volume $PWD:/docs \
--user $(id -u):$(id -g) \
gitlab.inf.unibz.it:4567/commul/docker/tools/texlive/2020/full:latest \
pdflatex somedoc.tex
docker-composeThe docker-compose.yml file defines a service texlive which can be used as follows:
[COMPOSE_USER=$(id -u):$(id -g)] docker-compose run texlive pdflatex somedoc.tex
The docker-compose.yml file defines a service texlive-version which can be used to select different versions as follows:
[COMPOSE_USER=$(id -u):$(id -g)] VERSION=2019/full:latest docker-compose run texlive-version pdflatex --version
pdfTeX 3.14159265-2.6-1.40.20 (TeX Live 2019)
docker-compose and PATHWith the $(pwd)/bin directory added to the PATH environment:
PATH=$(pwd)/bin:$PATH
pdflatex somedoc.tex
TEXLIVE_VERSION=2019 pdflatex --version
# Clone git repository
$ git clone https://gitlab.inf.unibz.it/commul/docker/tools/texlive
$ cd texlive
$ earthly --push +docker
# OR Update available images (apt-get update and tlmgr update --self )
$ cat 2020/.release
$ earthly --push --build-arg VERSION=2021.01 +docker
Content type
Image
Digest
sha256:3df7cf474…
Size
2.3 GB
Last updated
about 1 year ago
docker pull commul/texlive:2023_master