简体   繁体   English

如何在 Heroku-18 堆栈上使 ImageMagick 保持最新状态?

[英]How to keep ImageMagick up-to-date on Heroku-18 stack?

At time of writing, the ImageMagick version installed on the Heroku-18 stack is a few years out-of-date (version 6.9.7-4 released 14/Jan/2017).在撰写本文时,安装在 Heroku-18 堆栈上的 ImageMagick 版本已经过时了几年(版本 6.9.7-4 于 2017 年 1 月 14 日发布)。

How would you recommend keeping ImageMagick up-to-date on the Heroku-18 stack?您如何建议在 Heroku-18 堆栈上保持 ImageMagick 最新?

Heroku support suggested a couple of options: either install ImageMagick via the apt-get buildpack ( https://elements.heroku.com/buildpacks/heroku/heroku-buildpack-apt ), or use one of the ImageMagick buildpacks ( https://elements.heroku.com/search/buildpacks?q=imagemagick ). Heroku的支持提出了两个选择:要么通过apt-get的buildpack(安装ImageMagick的https://elements.heroku.com/buildpacks/heroku/heroku-buildpack-apt ),或使用ImageMagick的buildpacks之一( HTTPS:/ /elements.heroku.com/search/buildpacks?q=imagemagick )。

Buildpacks have access to your environment and if compromised would pose a significant risk. Buildpack 可以访问您的环境,如果遭到破坏将带来重大风险。 So I'll add that if you do use a third-party, non-Heroku buildpack, you should consider forking that buildpack's repo and use your trusted fork instead of relying on a third-party's repo that could be modified maliciously without your knowledge.因此,我要补充一点,如果您确实使用第三方的非 Heroku buildpack,您应该考虑分叉该 buildpack 的 repo 并使用您信任的分叉,而不是依赖可能在您不知情的情况下被恶意修改的第三方 repo。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM