pack create-builder

pack create-builder

Create builder image

Synopsis

A builder is an image that bundles all the bits and information on how to build your apps, such as buildpacks, an implementation of the lifecycle, and a build-time environment that pack uses when executing the lifecycle. When building an app, you can use community builders; you can see our suggestions by running

pack suggest-builders

Creating a custom builder allows you to control what buildpacks are used and what image apps are based on. For more on how to create a builder, see: https://buildpacks.io/docs/operator-guide/create-a-builder/.

pack create-builder <image-name> --config <builder-config-path> [flags]

Examples

pack create-builder my-builder:bionic --config ./builder.toml

Options

  -c, --config string        Path to builder TOML file (required)
  -h, --help                 Help for 'create-builder'
      --publish              Publish to registry
      --pull-policy string   Pull policy to use. Accepted values are always, never, and if-not-present. The default is always

Options inherited from parent commands

      --no-color     Disable color output
  -q, --quiet        Show less output
      --timestamps   Enable timestamps in output
  -v, --verbose      Show more output

SEE ALSO

  • pack - CLI for building apps using Cloud Native Buildpacks