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.
Install a container runtime, e.g. Docker or Podman. The following usage examples assume that Docker is installed.
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
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
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.
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