buildImage abstract method

Future<void> buildImage(
  1. ContainerBuild build,
  2. String tag
)

Builds an image from build and tags it tag.

Throws ImageBuildFailed on failure, including a Dockerfile that built successfully as HTTP but failed inside the build (Docker answers POST /build with 200 and reports failure in the response stream).

Implementation

Future<void> buildImage(ContainerBuild build, String tag);