Class Dockerfile.CopyFile

    • Constructor Detail

    • Method Detail

      • 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