Class Dockerfile.File

    • Method Detail

      • withChown

        public Dockerfile.File withChown​(String chown)
        Specifies a given username, groupname, or UID/GID combination to request specific ownership of the copied content with the help of the --chown option.

        Should be provided in the form of <user>:<group>.

        Parameters:
        chown - The ownership of the copied content
      • getSrc

        public String getSrc()
        Return the source path.
        Returns:
        The source path
      • getDest

        public String getDest()
        Returns the destination path.
        Returns:
        The destination path
      • getChown

        @Nullable
        public String getChown()
        Returns the ownership of the copied content.
        Returns:
        The ownership of the copied content