A dockerized LaTeX setup with lots of stuff, including TexLive, Zathura PDF Viewer (MuPDF backend), NeoVim, tmux, texlab, Adobe fonts ...
Already tested on Ubuntu 20.04, 22.04, 24.04.
Docker Engine and Docker Compose
./setup.bash -h
For a common user, get everything ready for the first time by executing
sudo ./setup.bash --build --download_texlive --download_typefaces --extract_typefaces
If using network proxy, modify related environment variables in setup.bash, and then
sudo ./setup.bash --build --build_with_proxy --run_with_proxy --download_texlive --download_typefaces --extract_typefaces
Modify the section services.latex.volumes
in 'docker-compose.yml' to map your workspace directories in the host machine into the Docker container's file system.
docker compose build && docker compose up -d
docker exec -it latex zsh