Class Dockerfile.CopyFile
java.lang.Object
com.bmuschko.gradle.docker.tasks.image.Dockerfile.File
com.bmuschko.gradle.docker.tasks.image.Dockerfile.CopyFile
- Enclosing class:
- Dockerfile
Input data for a
Dockerfile.CopyFileInstruction
.- Since:
- 5.0.0
-
Constructor Details
-
CopyFile
-
-
Method Details
-
withStage
Used to set the source location to a previous build stage.- Parameters:
stage
- The previous stage- Returns:
- This instruction
-
getStage
Returns the previous build stage.- Returns:
- The previous stage
-