withEnv method

GenericContainer withEnv(
  1. String name,
  2. String value
)

Sets the environment variable name.

Implementation

GenericContainer withEnv(String name, String value) {
  _environment[name] = value;
  return this;
}