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/

#buildpacks #build

Page last modified: 2024-11-13 14:01:29