Heroku Buildpack for poppler library (v.22.04.0)
Simply add the buildpack to your Heroku app, e.g.
heroku buildpacks:add -a MY-APP https://github.com/casperbrike/heroku-buildpack-poppler
Firstly, update Dockerfile
to include your desired version of poppler (replace <version>
with your version):
ARG version=<version>
Then run following commands to produce the Debian package (replace <version>
with your version):
docker build --build-arg version=<version> -t casperbrike/poppler:<version> .
docker run --rm -v `pwd`:/mnt casperbrike/poppler:<version> cp /poppler/build/poppler_<version>-1_amd64.deb /mnt/
Update bin/compile
file with name of your new package (replace <version>
with your version):
PKG=poppler_<version>-1_amd64.deb
Commit and push changes and you're ready to go!