public Image build() {
      return new Image(
          imageFormat,
          created,
          architecture,
          os,
          imageLayersBuilder.build(),
          historyBuilder.build(),
          ImmutableMap.copyOf(environmentBuilder),
          entrypoint,
          programArguments,
          healthCheck,
          ImmutableSet.copyOf(exposedPortsBuilder),
          ImmutableSet.copyOf(volumesBuilder),
          ImmutableMap.copyOf(labelsBuilder),
          workingDirectory,
          user);
    }
Create an {@link Image} instance.

@return a new {@link Image} instance
jib-core/src/main/java/com/google/cloud/tools/jib/image/Image.java