Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hardpixel/heroku-buildpack-vips
Heroku buildpack with libvips
https://github.com/hardpixel/heroku-buildpack-vips
buildpack heroku libvips
Last synced: about 1 month ago
JSON representation
Heroku buildpack with libvips
- Host: GitHub
- URL: https://github.com/hardpixel/heroku-buildpack-vips
- Owner: hardpixel
- License: mit
- Created: 2022-05-16T15:38:14.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-08-17T08:34:08.000Z (over 1 year ago)
- Last Synced: 2024-03-27T03:20:23.603Z (9 months ago)
- Topics: buildpack, heroku, libvips
- Language: Dockerfile
- Homepage:
- Size: 64.1 MB
- Stars: 6
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# heroku-buildpack-vips
Heroku buildpack with [libvips](https://github.com/libvips/libvips) installed. A buildpack for the modern Heroku stacks.
[![Vips](https://img.shields.io/github/v/tag/hardpixel/heroku-buildpack-vips?label=vips&logo=hack-the-box)](https://github.com/hardpixel/heroku-buildpack-vips/releases)
[![Heroku 18](https://img.shields.io/badge/stack-18-904edf?logo=heroku)](https://github.com/hardpixel/heroku-buildpack-vips/releases)
[![Heroku 20](https://img.shields.io/badge/stack-20-904edf?logo=heroku)](https://github.com/hardpixel/heroku-buildpack-vips/releases)
[![Heroku 22](https://img.shields.io/badge/stack-22-904edf?logo=heroku)](https://github.com/hardpixel/heroku-buildpack-vips/releases)
[![Build](https://github.com/hardpixel/heroku-buildpack-vips/actions/workflows/build.yml/badge.svg)](https://github.com/hardpixel/heroku-buildpack-vips/actions/workflows/build.yml)## 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](https://github.com/libvips/libvips/releases). Check the available versions in the [releases](https://github.com/hardpixel/heroku-buildpack-vips/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](https://www.libvips.org/2022/05/28/What's-new-in-8.13.html#blocking-of-unfuzzed-loaders).
```
$ heroku config:set VIPS_BLOCK_UNTRUSTED=true
```## License
The buildpack is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).