This post was written for an in person hackday for RubyConf, but it links out to some async tutorials for using Cloud Native Buildpacks like these ones that are programmatically generated to guarantee consistency and correctness. https://github.com/heroku/buildpacks/tree/main/docs#use
Since that event, we’ve added 8 tutorials for using CNBs with .NET, Go, Java (Gradle), Java (Maven), Node.JS, PHP, Python, Ruby, and Scala.
Let me know if you’ve got questions on either using a CNB to build an OCI image or anything about libcnb.rs or our Rust stack for buildpack development.