This buildpack has been contributed to the Paketo project. This code will no longer be updated & and this repository will be archived.
Going forward, please use https://github.com/paketo-buildpacks/apt-buildpack.
This is a Cloud Native Buildpack that adds support for apt-based dependencies during both build and runtime.
This buildpack is based on fagiani/apt-buildpack and heroku-buildpack-apt.
This buildpack is not meant to be used on its own, and instead should be in used in combination with other buildpacks.
Include a list of apt package names to be installed in a file named Aptfile; be aware that line ending should be LF, not CRLF.
The buildpack automatically downloads and installs the packages when you run a build:
$ pack build --buildpack dmikusa/apt myapp
# you can list packages
libexample-dev
# or include links to specific .deb files
http://downloads.sourceforge.net/project/wkhtmltopdf/0.12.1/wkhtmltox-0.12.1_linux-precise-amd64.deb
# or add custom apt repos (only required if using packages outside of the standard Ubuntu APT repositories)
:repo:deb http://cz.archive.ubuntu.com/ubuntu artful main universe
# or import GPG keys for custom repos
:repo:key https://example.com/repo-signing-key.gpg
# Note: Keys can be imported in both .asc and .gpg formats
:repo:key https://example.com/repo-signing-key.asc
# You can also import from keyserver.ubuntu.com:
:repo:key CADA0F77901522B3
# ...or from a file URL:
:repo:key file://key.asc
# NOTE: This key must be relative to the repository root, i.e. file:///etc/keys/foo.asc will not work.
MIT
This buildpack is experimental and not yet intended for production use.