Public | Automated Build

Last pushed: 10 months ago
Short Description
Ubuntu-based LaTeX toolchain using the most current TeXLive distribution
Full Description

TeXLive-current Docker Container

This container is mainly meant to be used in CI for LaTeX documents. It's based on Alpine Linux (latest) and installs the most current version of TeXLive using its official installer.

Setup

First, add your local user to docker group:

sudo usermod -aG docker YOURUSERNAME

Pull image (from Hub):

docker pull janwh/latex

or build:

docker build -t janwh/latex .

Usage:

cd example

# Double to process refs
../dockercmd.sh pdflatex example.tex
../dockercmd.sh pdflatex example.tex

# Or better in one go (does not start container twice)
../dockercmd.sh /bin/sh -c "pdflatex example.tex && pdflatex example.tex"

# View
./example.pdf

Use dockercmd.sh to execute any command you like inside the container. WORKDIRs match, mounted to /data inside container.

Why should I use this container?

  • Easy setup
  • Preserves UID and GID of local user
  • Use container like local command
  • texlive-full covers most of the available packages
Docker Pull Command
Owner
janwh
Source Repository

Comments (0)