@Nullable
  private static List<String> computeEntrypoint(
      CommonContainerConfigCliOptions commonContainerConfigCliOptions)
      throws InvalidImageReferenceException {
    List<String> entrypoint = commonContainerConfigCliOptions.getEntrypoint();
    if (!entrypoint.isEmpty()) {
      return entrypoint;
    }
    if (commonContainerConfigCliOptions.isJettyBaseimage()) {
      // Since we are using Jetty 12 or later as the default, the deploy module needs to be
      // specified. See
      // https://eclipse.dev/jetty/documentation/jetty-12/operations-guide/index.html
      return ImmutableList.of("java", "-jar", "/usr/local/jetty/start.jar", "--module=ee10-deploy");
    }
    return null;
  }
Generates a {@link JibContainerBuilder} from contents of a WAR file.

@param processor artifact processor
@param commonCliOptions common cli options
@param commonContainerConfigCliOptions common cli options shared between jar and war command
@param logger console logger
@return JibContainerBuilder
@throws IOException if I/O error occurs when opening the war file or if temporary directory
    provided doesn't exist
@throws InvalidImageReferenceException if the base image reference is invalid
jib-cli/src/main/java/com/google/cloud/tools/jib/cli/war/WarFiles.java