This image was built to be used with a LaTeX testing and deploying pipeline, on an x86_64 machine; the image
itself is based on Debian slim, and it uses bash
. Moreover, the mount point for the compiler's workspace is
under the /workspace
folder (you should mount there the volume containing your LaTeX sources)
Also, the container images for ARMv7, AARCH64 and x86_64 platforms are automatically built from this repository, and available from Docker Hub
The Containerfile is written to allow cross-architecture builds, using QEMU's user-static package: to build the image on x86 for another platform do the following:
- be sure to install
qemu-user-static
if you need to run the container on an architecture different from the local one; - run the build process with
podman build -f Containerfile.aarch64 -t myregistry/texlive-it:latest .
You can change the installation candidate packages by editing the texlive.profile file, including adding or removing languages (by default Italian will be installed).
Using the file packages.txt
you can provide additional package names to be downloaded using the tlmgr
package manager, when building the container image.
- Change directory to your soruce code root;
- run the following command:
podman run --rm -it -v $(pwd):/workdir:z procsiab/texlive-it:latest bash
- to output a PDF, from the prompt inside the container, invoke the compiler as follows:
latexmk -quiet -pdf -pdflatex="pdflatex -interaction=nonstopmode"