Class BuildContainerUtils

java.lang.Object
dev.snowdrop.buildpack.docker.BuildContainerUtils

public class BuildContainerUtils extends Object
  • Constructor Details

    • BuildContainerUtils

      public BuildContainerUtils()
  • Method Details

    • createBuildImage

      public static BuilderImage createBuildImage(com.github.dockerjava.api.DockerClient dc, BuilderImage baseBuilder, ImageReference lifecycle, List<ImageReference> extensions, List<ImageReference> buildpacks)
      Creates a build image using a builder image as the base, overlaying lifecycle/extensions/buildpack content from supplied images.
      Parameters:
      dc - Dockerclient to use
      baseBuilder - ImageReference for builder imager to start with
      lifecycle - ImageReference for lifecycle image to take lifecycle from
      extensions - List of ImageReferences to take extensions from
      buildpacks - List of ImageReferences to take buildpacks from
      Returns: