Need help with heroku-buildpack-apt?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

heroku
170 Stars 251 Forks 67 Commits 32 Opened issues

Services available

!
?

Need anything else?

Contributors list

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
.

To find out what packages are available, see: https://packages.ubuntu.com

See the Heroku Stacks documention for which Ubuntu LTS version is used by each Heroku stack.

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

# you can list packages
libexample-dev

or include links to specific .deb files

https://downloads.example.com/example.deb

or add custom apt repos (only required if using packages outside of the standard Ubuntu APT repositories)

:repo:deb https://apt.example.com/ example-distro main

License

MIT

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.