public ContainerConfiguration build() {
      return new ContainerConfiguration(
          ImmutableSet.copyOf(platforms),
          creationTime,
          entrypoint,
          programArguments,
          environmentMap == null ? null : ImmutableMap.copyOf(environmentMap),
          exposedPorts == null ? null : ImmutableSet.copyOf(exposedPorts),
          volumes == null ? null : ImmutableSet.copyOf(volumes),
          labels == null ? null : ImmutableMap.copyOf(labels),
          user,
          workingDirectory);
    }
Builds the {@link ContainerConfiguration}.

@return the corresponding {@link ContainerConfiguration}
jib-core/src/main/java/com/google/cloud/tools/jib/configuration/ContainerConfiguration.java