接口 Buildpack

所有已知实现类:
BuilderBuildpack, DirectoryBuildpack, ImageBuildpack, TarGzipBuildpack

interface Buildpack
A Buildpack that should be invoked by the builder during image building.
从以下版本开始:
4.0
作者:
Scott Frederick, Harry Yang
另请参阅:
  • 方法详细资料

    • getCoordinates

      BuildpackCoordinates getCoordinates()
      Return the coordinates of the builder.
      返回:
      the builder coordinates
    • apply

      void apply(IOConsumer<Layer> layers) throws IOException
      Apply the necessary buildpack layers.
      参数:
      layers - a consumer that should accept the layers
      抛出:
      IOException - on IO error