This Dockerfile
builds a Docker image for Pandoc v2.5, which is used in the E-ARK publication workflow. The Pandoc version was released in November 2018. An upgrade to v2.19 release in August 2022 might be a good idea. An upgrade to v3 or higher might require more work/fixing breaking changes.
The Docker image DOES NOT come with the spec-publisher
project installed, which is confusing and a historical hangover. The Docker image is used to assemble the collateral produced by the spec-publisher
project and execute Pandoc on them.
It's a little rough and ready for now. The box simply provides a working installation of Pandoc v2.5 and a bash
entrypoint for running code. The base image is debian:stable
from the offical Debian Docker Hub repository. This is a little large and better options are available.
Generally the box will be invoked as part of a publication workflow, e.g. from the spec-publisher
project. The box is invoked with a bash
command, which is usually a script, passed to the image ENTRYPOINT
.