Skip to content
This repository was archived by the owner on Jan 20, 2026. It is now read-only.

dmikusa/apt-buildpack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ARCHIVED!!

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.

apt Buildpack

Version

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.

Usage

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

Aptfile

# 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.

License

MIT

Disclaimer

This buildpack is experimental and not yet intended for production use.

About

apt-based Buildpack

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Shell 100.0%