Skip to content

Latest commit

 

History

History
49 lines (30 loc) · 1.58 KB

README.md

File metadata and controls

49 lines (30 loc) · 1.58 KB

heroku-buildpack-vendorbinaries

Add support for vendor binaries during both compile and runtime.

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

It is strongly inspired by heroku-buildpack-apt and Heroku buildpack: Vendor Binaries.

The problem with heroku-buildpack-apt is that sometimes libraries are old. If you need a new version or a library that is not available as an apt package, then this buildpack is for you.

Usage

This buildpack is not meant to be used on its own, and instead should be in used in combination with Heroku's multiple buildpack support.

Include a list of apt package names to be installed in a file named Vendorfile

Example

This example will show how to provide GEOS and PROJ extensions to a Ruby based application.

A repository using this approach is available at https://github.com/diowa/rgeo-sinatra

Command-line

To use the latest stable version:

heroku buildpacks:add --index 1 https://github.com/diowa/heroku-buildpack-vendorbinaries.git

Vendorfile

# List urls
https://vesuvius.herokuapp.com/libraries/geos-3.10.0-heroku.tar.gz
https://vesuvius.herokuapp.com/libraries/proj-8.1.1-heroku.tar.gz

Compile libraries for Heroku

If you are interested in compiling your own libraries, take a look at Vesuvius

License

MIT