Last active
March 26, 2019 14:27
-
-
Save jkutner/c6edb54d1eb03df8fd395e2f779fc539 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cd elixir-cnb | |
$ curl -L https://github.com/heroku/cnb-shim/releases/download/v0.0.2/cnb-shim-v0.0.2.tgz | tar xz | |
$ cat > buildpack.toml << TOML | |
> [buildpack] | |
> id = "hashnuke.elixir" | |
> version = "0.1" | |
> name = "Elixir" | |
> | |
> [[stacks]] | |
> id = "heroku-18" | |
TOML | |
$ bin/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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As you suggested on slack, this should be added before the last command:
pack add-stack heroku-18 --build-image heroku/pack:18-build --run-image heroku/pack:18