【发布时间】:2015-01-29 16:06:30
【问题描述】:
有人知道如何让 GhostScript 在 Iron.io 工作人员中工作吗?
我正在使用带有 node.js 的 ffmpeg 堆栈,需要使用 imagemagic 将 pdf 转换为一系列 jpeg,为此需要 GhostScript。
【问题讨论】:
标签: ghostscript iron.io ironworker
有人知道如何让 GhostScript 在 Iron.io 工作人员中工作吗?
我正在使用带有 node.js 的 ffmpeg 堆栈,需要使用 imagemagic 将 pdf 转换为一系列 jpeg,为此需要 GhostScript。
【问题讨论】:
标签: ghostscript iron.io ironworker
您可以通过关键字 deb 将几乎任何 .deb 文件添加到工作程序包中
(工作)示例:
runtime "node"
exec "run.js"
stack 'node-0.10'
deb 'http://archive.ubuntu.com/ubuntu/pool/main/g/ghostscript/ghostscript_9.10~dfsg-0ubuntu10.2_amd64.deb'
remote # important, turn remote building on
此外,您还可以在此处找到一些其他有用的示例:https://github.com/iron-io/iron_worker_examples/tree/master/deb-packages
【讨论】: