Represents a ADD instruction.

Hierarchy

  • default
    • Add

Implements

Constructors

  • Parameters

    • instructionAgruments: string

    Returns Add

Methods

  • Returns exec form of shell command string.

    Parameters

    • shellCommand: string

    Returns string

  • Returns a new Add instruction of given source and destination arguments.

    Parameters

    • source: string

      the file, directory or remote file URL

    • destination: string

      the path on the filesystem of the image

    Returns Add

  • Returns a new Add instruction with verifying a remote file checksum.

    Parameters

    • sourceUrl: URL

      the remote file

    • destination: string

      the destination into which the source will be copied

    • checkSum: string

      the checksum of a remote file

    Returns Add

  • Returns a new Add instruction of given source, destination, chown arguments and optionally chmod.

    Parameters

    • source: string

      the file, directory or remote file URL

    • destination: string

      the path on the filesystem of the image

    • chown: string

      the username, groupname, or UID/GID to request specific ownership of the content

    • Optional chmod: string

      the destination permissions

    Returns Add

Generated using TypeDoc