Class Dockerfile.AddFileInstruction
java.lang.Object
com.bmuschko.gradle.docker.tasks.image.Dockerfile.FileInstruction<Dockerfile.File>
com.bmuschko.gradle.docker.tasks.image.Dockerfile.AddFileInstruction
- All Implemented Interfaces:
Dockerfile.Instruction
- Enclosing class:
- Dockerfile
public static class Dockerfile.AddFileInstruction
extends Dockerfile.FileInstruction<Dockerfile.File>
Represents a
ADD
instruction.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the keyword of the instruction as used in the Dockerfile.Methods inherited from class com.bmuschko.gradle.docker.tasks.image.Dockerfile.FileInstruction
getFile, getText
-
Field Details
-
KEYWORD
- See Also:
-
-
Constructor Details
-
AddFileInstruction
-
AddFileInstruction
-
-
Method Details
-
getKeyword
Gets the keyword of the instruction as used in the Dockerfile.For example the keyword of the
Dockerfile.FromInstruction
isFROM
.- Returns:
- The instruction keyword
-