| title: | Deploying with Heroku Buildpacks on Deis |
|---|---|
| description: | A howto on deploying applications using Heroku Buildpacks |
| keywords: | tutorial, guide, walkthrough, howto, deis, developer, dev, buildpack, heroku |
Buildpacks are bundles of detection and configuration scripts which set up containers to run applications.
For convenience, there are a few buildpacks that are bundled with Deis:
Deis will cycle through the bin/detect scripts of each buildpack to match the code you
are pushing.
To add a specific buildpack to your custom Deis cluster, you will need to make the change in the builder recipe for the Deis cookbook.
Note
Not all Heroku buildpacks work with Deis due to environmental differences (e.g. missing libraries, Heroku-specific environment changes). Test any buildpack before using it in production deployments.
If you want your application to use a specific buildpack that is not included in the list, you can set the BUILDPACK_URL environment variable for your application before your first push. For example:
$ deis config:set BUILDPACK_URL=https://github.com/bacongobbler/heroku-buildpack-jekyll
=== classy-hardtack
BUILDPACK_URL: https://github.com/bacongobbler/heroku-buildpack-jekyllNote
Setting config variables before your first deployment results in an error. See issue 542 for more details.