public static JibBuildRunner forBuildTar(
      JibContainerBuilder jibContainerBuilder,
      Containerizer containerizer,
      Consumer<LogEvent> logger,
      HelpfulSuggestions helpfulSuggestions,
      Path outputPath) {
    return new JibBuildRunner(
        jibContainerBuilder,
        containerizer,
        logger,
        helpfulSuggestions,
        String.format(STARTUP_MESSAGE_FORMAT_FOR_TARBALL, outputPath.toString()),
        String.format(SUCCESS_MESSAGE_FORMAT_FOR_TARBALL, outputPath.toString()));
  }
Creates a runner to build an image tarball. Creates a directory for the cache, if needed.

@param jibContainerBuilder the {@link JibContainerBuilder}
@param containerizer the {@link Containerizer}
@param logger consumer for handling log events
@param helpfulSuggestions suggestions to use in help messages for exceptions
@param outputPath the path to output the tarball to
@return a {@link JibBuildRunner} for building a tarball
jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/JibBuildRunner.java