Using Imagemagick (Ghostscript) on cflinuxfs3 #cf


Markus Tanner
 

Hi

I'm using the nodejs-buildpack together with the cflinuxfs3 stack. I would like to convert PDF documents to JPEG images.
In order to do this I'm using Imagemagick together with Ghostscript.

cflinuxfs3 uses the following Ubuntu package: 6.9.7.4+dfsg-16ubuntu6.4
Unfortunately there's a security issue with Ghostscript in this version. Because of that the Ghostscript handled types are disabled in policy.xml.
See https://launchpad.net/ubuntu/+source/imagemagick/8:6.9.7.4+dfsg-16ubuntu6.4

I'd like to override the policy.xml (/etc/ImageMagick-6/policy.xml). 
But I would need root permissions for that, which I don't have.

Unfortunately my CF provider couldn't help me with that problem.
Does anyone here know a workaround for this?

Thanks in advance
Markus


Join {cf-dev@lists.cloudfoundry.org to automatically receive all group messages.