Skip to content
This repository has been archived by the owner on May 11, 2023. It is now read-only.

barsoom/heroku-buildpack-imagemagick

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 

Repository files navigation

heroku-buildpack-imagemagick

This is a Heroku buildpack for vendoring the ImageMagick binaries into your project.

How to set a specific version

On heroku you configure this buildpack like this:

heroku config:set IMAGE_MAGICK_HOST=http://www.imagemagick.org/download/releases/
heroku config:set IMAGE_MAGICK_VERSION=6.9.3-10
heroku config:set IMAGE_MAGICK_SHA=e33f021c879f31703f9e620f578ccf7d221a34941589da4bbe967b16a814336a

If you use this buildpack directly (e.g. in CI) you have to create files on disk that bin/compile can read. They have the same names as the environment variables and the same contents. Look at the script to see what it expects.

In some Auctionet projects, see script/circleci/install_imagemagick.sh for how to edit these files.

The "SHA" is a SHA-256 checksum. This ensures that no one can modify the code you install on your servers, e.g. by hacking the code repository and uploading a version of ImageMagick that includes harmful code. You will of course have to ensure that the version you get the shasum for isn't already hacked :)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%