public JibContainerBuilder setEnvironment(Map<String, String> environmentMap) {
    containerBuildPlanBuilder.setEnvironment(environmentMap);
    containerConfigurationBuilder.setEnvironment(environmentMap);
    return this;
  }
Sets the container environment. These environment variables are available to the program
launched by the container entrypoint command. This replaces any previously-set environment
variables.

<p>This is similar to <a href="https://docs.docker.com/engine/reference/builder/#env">{@code
ENV} in Dockerfiles</a> or {@code env} in the <a
href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.11/#container-v1-core">Kubernetes
Container spec</a>.

@param environmentMap a map of environment variable names to values
@return this
jib-core/src/main/java/com/google/cloud/tools/jib/api/JibContainerBuilder.java