@Input
  @Optional
  public List<String> getJvmFlags() {
    String jvmFlagsSystemProperty = System.getProperty(PropertyNames.CONTAINER_JVM_FLAGS);
    if (jvmFlagsSystemProperty != null) {
      return ConfigurationPropertyValidator.parseListProperty(jvmFlagsSystemProperty);
    }
    return jvmFlags.getOrElse(Collections.emptyList());
  }
A bean that configures properties of the container run from the image. This is configurable with
Groovy closures and can be validated when used as a task input.
jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/ContainerParameters.java