The Heroku Elixir Buildpack uses pre-compiled builds of Erlang OTP for fast deployments. The binaries it uses are built and stored in this repository. Erlang is compiled in a GitHub action that uses the official Heroku Docker images to ensure maximum compatability. After a given version of Erlang is compiled, it is saved as a GitHub release asset.
Just add the new version to the
.github/workflows/build-and-release.yml
file. Don't worry about adding an old release, or multiple versions, missing builds
are automatically backfilled.
- Create a
heroku-xx.Dockerfile
in thestacks
directory. - Add the new version to the
.github/workflows/build-and-release.yml
file.
A special thanks to everyone who worked on the original version of this build system. This version was built in ~5 hours, and that wouldn't have been possible without using the original as a reference point.
This project is licensed under the Apache 2.0 license, see the full text here.
© Kaz Walker 2020