static String buildToDockerDaemonAndRun(
      TestProject testProject, String imageReference, String gradleBuildFile)
      throws IOException, InterruptedException, DigestException {
    buildToDockerDaemon(testProject, imageReference, gradleBuildFile);
    return new Command("docker", "run", "--rm", imageReference).run();
  }
Helper class to run integration tests.
jib-gradle-plugin/src/integration-test/java/com/google/cloud/tools/jib/gradle/JibRunHelper.java