pandoc/dockerfiles

Add rsvg-convert package to core

mikeb727 opened this issue · 2 comments

The pandoc/core Docker image and its derivatives do not include the rsvg-convert package containing the /usr/bin/rsvg-convert executable. As a result, attempting to convert a Markdown file with linked SVG images to PDF output fails. Additionally, starting a container, attaching a shell with Docker exec, and using find to search for rsvg-convert in the container filesystem yields no results. See the Alpine package contents for librsvg, which is listed in the Dockerfile but does not contain /usr/bin/rsvg-convert, and rsvg-convert, which does contain /usr/bin/rsvg-convert but is not listed in the Dockerfile.

Thanks for the report! I'll fix it.

For the time being you could use the pandoc/latex:latest-ubuntu image. The /usr/bin/rsvg-convert binary exists in that container.

Just for context: the rsvg-convert package exists since Alpine 3.17; the binary was part of librsvg before that.