Skip to content

heroku/cnb-shim

main
Switch branches/tags
Code

Latest commit

Bumps [github.com/rollbar/rollbar-go](https://github.com/rollbar/rollbar-go) from 1.4.2 to 1.4.4.
- [Release notes](https://github.com/rollbar/rollbar-go/releases)
- [Changelog](https://github.com/rollbar/rollbar-go/blob/master/CHANGELOG.md)
- [Commits](rollbar/rollbar-go@v1.4.2...v1.4.4)

---
updated-dependencies:
- dependency-name: github.com/rollbar/rollbar-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
8e79470

Git stats

Files

Permalink
Failed to load latest commit information.

Cloud Native Buildpack Shim

This is a Cloud Native Buildpack that acts as a shim for Heroku Buildpacks.

Usage

This shim can be used with any buildpack in the Heroku Buildpack Registry by specifying a URL in the form:

https://cnb-shim.herokuapp.com/v1/<namespace>/<name>

Example: Elixir

$ pack build elixir-app --buildpack https://cnb-shim.herokuapp.com/v1/hashnuke/elixir --builder heroku/buildpacks:18

For a complete list of available buildpacks run the following command from the Heroku CLI:

$ heroku buildpacks:search

Applying the Shim Manually

To use the shim manually, install the target buildpack:

$ sbin/install "path/to/buildpack.toml" "https://example.com/buildpack.tgz"

Then run this buildpack.

Example: Elixir

To use this shim with the hashnuke/elixir buildpack, install pack CLI and run:

$ cd elixir-cnb

$ curl -L https://github.com/heroku/cnb-shim/releases/download/v0.1/cnb-shim-v0.1.tgz | tar xz

$ cat > buildpack.toml << TOML
api = "0.2"

[buildpack]
id = "hashnuke.elixir"
version = "0.1"
name = "Elixir"

[[stacks]]
id = "heroku-18"
TOML

$ sbin/install buildpack.toml https://buildpack-registry.s3.amazonaws.com/buildpacks/hashnuke/elixir.tgz

$ cd ~/my-elixir-app/

$ pack build elixir-app --builder heroku/buildpacks --buildpack ~/path/to/elixir-cnb

License

MIT