Sign inSign up

sauerburger/pdflatex

By sauerburger

Updated almost 5 years ago

Image with a full TeX Live installation and pdflatex.

Image
1

9.6K

sauerburger/pdflatex repository overview

The docker image sauerburger/pdflatex is made for CI jobs that compile a document or a presentation into a final PDF file. The image is based on Ubuntu 18.04 and contains a TeX Live installation.

The docker hub repository contains several tags, e.g., for TeX Live 2017 or TeX Live 2018. Images are also available in a plus variant which contains additional software.

The TeX Live archives for the current and historic releases are downloaded from a private, unofficial and incomplete mirror due to performance issues with the official mirrors.

Image content

The base images include:

  • Ghostscript
  • Perl
  • Python 2.7
  • And a few Linux tools (make, wget and unzip)

The plus variants ship with the base image software and:

  • Inkscape
  • Python 3
  • Pip (Python 2 and 3)
  • Poppler utils
  • Git

Usage

After staring a container, the command pdflatex is available:

# docker run --rm -it sauerburger/pdflatex
$ pdflatex
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017) (preloaded
format=pdflatex)
 \write18 enabled.
**

The image is intended for CI jobs. An example .gitlab-ci.yml configuration file could look as follows:

stages:
  - build

pdflatex:
  image: sauerburger/pdflatex
  stage: build

  script:
    - pdflatex document.tex

  artifacts:
    paths:
      - "document.pdf"
    expire_in: 6 mos

The compiled PDF file is available as a build artifact.

Tag summary

Content type

Image

Digest

Size

4.2 GB

Last updated

almost 5 years ago

docker pull sauerburger/pdflatex