Skip to content

TexLive custom Docker image, includes Italian language

Notifications You must be signed in to change notification settings

Procsiab/texlive-it

Repository files navigation

TexLive multi-arch with Italian language

Container Build

Docker Image Version (latest by date)

Description

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

Building with Containerfile

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 .

Configure TexLive

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.

Compiling documents from the container

  1. Change directory to your soruce code root;
  2. run the following command:
podman run --rm -it -v $(pwd):/workdir:z procsiab/texlive-it:latest bash
  1. to output a PDF, from the prompt inside the container, invoke the compiler as follows:
latexmk -quiet -pdf -pdflatex="pdflatex -interaction=nonstopmode"

About

TexLive custom Docker image, includes Italian language

Resources

Stars

Watchers

Forks

Packages

No packages published