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

public static class Dockerfile.CopyFile extends Dockerfile.File
Since:
5.0.0
  • Constructor Details

  • Method Details

    • withStage

      public Dockerfile.CopyFile withStage(String stage)
      Used to set the source location to a previous build stage.
      Parameters:
      stage - The previous stage
      Returns:
      This instruction
    • getStage

      @Nullable public String getStage()
      Returns the previous build stage.
      Returns:
      The previous stage