Class Dockerfile.EnvironmentVariableInstruction
- java.lang.Object
 - 
- com.bmuschko.gradle.docker.tasks.image.Dockerfile.MapInstruction
 - 
- com.bmuschko.gradle.docker.tasks.image.Dockerfile.EnvironmentVariableInstruction
 
 
 
- 
- All Implemented Interfaces:
 Dockerfile.Instruction
- Enclosing class:
 - Dockerfile
 
public static class Dockerfile.EnvironmentVariableInstruction extends Dockerfile.MapInstruction
Represents aENVinstruction. 
- 
- 
Constructor Summary
Constructors Constructor Description EnvironmentVariableInstruction(String key, String value)EnvironmentVariableInstruction(Map<String,String> envVars)EnvironmentVariableInstruction(Provider<Map<String,String>> provider) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetKeyword()Gets the keyword of the instruction as used in the Dockerfile.- 
Methods inherited from class com.bmuschko.gradle.docker.tasks.image.Dockerfile.MapInstruction
getText 
 - 
 
 - 
 
- 
- 
Field Detail
- 
KEYWORD
public static final String KEYWORD
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
getKeyword
public String getKeyword()
Gets the keyword of the instruction as used in the Dockerfile.For example the keyword of the
Dockerfile.FromInstructionisFROM.- Returns:
 - The instruction keyword
 
 
 - 
 
 -