Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.62 KB

README.md

File metadata and controls

46 lines (33 loc) · 1.62 KB

Docker Pandoc Image

This repository produces the following artifacts:

  • Pandoc image, based on Fedora 35, LaTeX base environment pre-installed.
  • Eisvogel image, based on Pandoc image, Eisvogel template and additional LaTeX packages pre-installed.
  • Pandoc RPM, for x86_64 rpm-based Linux systems.

CI Pipeline Status.

Usage

Install a container runtime, e.g. Docker or Podman. The following usage examples assume that Docker is installed.

Run Pandoc base image

To produce output.pdf from input.md:

docker run --rm -v $PWD:/source -w /source -it registry.gitlab.com/jwhb/docker-pandoc:latest pandoc input.md -o output.pdf

Run Pandoc Eisvogel image

To produce output.pdf from input.md with Eisvogel template:

docker run --rm -v $PWD:/source -w /source -it registry.gitlab.com/jwhb/docker-pandoc:eisvogel pandoc --template=eisvogel input.md -o output.pdf

Use the RPM package

The RPM can be installed on x86_64 rpm-based Linux systems. Download the latest RPM build from https://gitlab.com/jwhb/docker-pandoc/-/packages.

Build this image

To build this image yourself, clone the repository and execute:

# for pandoc image
docker build --build-arg PANDOC_VERSION="2.14" -t local/pandoc .

# for eisvogel image
docker build --build-arg PANDOC_VERSION="2.14" -t local/eisvogel ./eisvogel