package.toml

A buildpackage configuration schema is as follows:

  • buildpack (required)

    The buildpack to package. It must contain the following field:

    • uri (string, required)
      A URL or path to an archive, or a path to a directory. If path is relative, it must be relative to the package.toml.
  • dependencies (list, optional)

    A set of dependent buildpack locations, for packaging a meta-buildpack. Each dependent buildpack location must correspond to an order group within the meta-buildpack being packaged, and must have one of the following fields:

    • uri (string)
      A URL or path to an archive, a packaged buildpack (saved as a .cnb file), or a directory. If path is relative, it must be relative to the package.toml.

      OR

    • image (string)
      A registry location (if no registry host is specified in the image name, DockerHub is assumed).

Further Reading

You can view sample buildpackages on Github.