Hi @navanitachora! Unfortunately, the fact that the build images are open source doesn’t allow them to be customized for use in our system, and we also don’t have any near-term plans to support arbitrary custom docker images.
However, it does meant that you can:
- File issues. We check these issues regularly, answer questions when we can, and track feature requests when planning future development. (We’re currently planning the next image version, so your input is valuable!)
- Add your input to other issues and feature requests. You can find a couple of pandoc-related issues in there already.
- Possibly submit a PR to update the Pandoc version (set here). If it’s not a breaking change, we might be able to merge it in the current image. (You can file an issue first to ask, if you like.)
In addition, you might be interested in this workaround. We’re currently experimenting with using Homebrew (technically Linuxbrew) in the Xenial build image. You can install the latest available Pandoc version by saving a Brewfile.netlify
in your site’s base directory with the line, brew "pandoc"
. I tested this in a build and pandoc --version
returned 2.11.3.2
. (Previously, it returned 2.4
.)
Hope that helps!