Class DockerCopyFileToContainer

    • Constructor Detail

      • DockerCopyFileToContainer

        public DockerCopyFileToContainer()
    • Method Detail

      • withFile

        public void withFile​(Object hostPath,
                             Object remotePath)
        Add a file to be copied into container
        Parameters:
        hostPath - can be either String, GString, File or Closure which returns any of the previous.
        remotePath - can be either String, GString, File or Closure which returns any of the previous.
      • withTarFile

        public void withTarFile​(Object hostPath,
                                Object remotePath)
        Add a tarfile to be copied into container
        Parameters:
        hostPath - can be either String, GString, File or Closure which returns any of the previous.
        remotePath - can be either String, GString, File or Closure which returns any of the previous.