Skip to content

hardpixel/heroku-buildpack-vips

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

heroku-buildpack-vips

Heroku buildpack with libvips installed. A buildpack for the modern Heroku stacks.

Vips Heroku 18 Heroku 20 Heroku 22 Build

Usage

Run the commands below to add this buildpack to your app:

$ heroku buildpacks:add --index 1 https://github.com/hardpixel/heroku-buildpack-vips

Deploy to Heroku and verify the result by running this command:

$ heroku run vips -v
vips 8.14.4

Configuration

You can select the preferred version by setting the VIPS_VERSION environment variable. It defaults to the latest stable release. Check the available versions in the releases page.

$ heroku config:set VIPS_VERSION=8.13.0

Untrusted operations

You can block untrusted operations at runtime by setting the VIPS_BLOCK_UNTRUSTED environment variable. Then any operation that is tagged as untrusted will be prevented from running. More information available here.

$ heroku config:set VIPS_BLOCK_UNTRUSTED=true

License

The buildpack is available as open source under the terms of the MIT License.