Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
#39 Compare This branch is 24 commits ahead, 9 commits behind ddollar:master.
Latest commit 0bb61ba Sep 19, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin + Package sources in Aptfile support Jul 5, 2017
test Removed old .buildpacks file form test dir [skip ci] Sep 16, 2016
.gitignore init Apr 13, 2013
.travis.yml Fixed shunit2 url Sep 16, 2016
README.md Update README.md Sep 19, 2018

README.md

heroku-buildpack-apt Build Status

Add support for apt-based dependencies during both compile and runtime.

Added ability to also specify custom repositories through :repo: in Aptfile (see example below).

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 Aptfile

Example

Command-line

To use the latest stable version:

heroku buildpacks:add --index 1 heroku-community/apt

To use the edge version (i.e. the code in this repo):

heroku buildpacks:add --index 1 https://github.com/heroku/heroku-buildpack-apt

Aptfile

libpq-dev
http://downloads.sourceforge.net/project/wkhtmltopdf/0.12.1/wkhtmltox-0.12.1_linux-precise-amd64.deb
:repo:deb http://cz.archive.ubuntu.com/ubuntu artful main universe

Gemfile

source "https://rubygems.org"
gem "pg"

Check out the PG library version

$ heroku run bash -a apt-pg-test
~ $ irb
irb(main):001:0> require "pg"
=> true
irb(main):002:0> PG::version_string
=> "PG 0.15.1"

License

MIT

You can’t perform that action at this time.