Skip to content

Buildpacks

#docker #containers #paas

Lifecycle

A buildback has the following components:

  • detect: script (typically, shell-script)
  • build: same (also: installs the environment, etc.)
  • buildpack.toml: metadata for the buildback

It generates, for a given application:

  • A “layer” (= the “compiled” application)
  • A launch.toml metadata file, similar to:
[[processes]]
type = "web"
command = "bundle exec ruby app.rb"
default = true

Buildpacks are composable: https://buildpacks.io/docs/buildpack-author-guide/build-phases-overview/

Page last modified: 2023-03-08 11:32:44