case class Copy(sources: Seq[SourceFile], destination: String, chown: Option[String] = None) extends FileStagingDockerfileInstruction with Product with Serializable

Adds files to the image.

sources

Source files. Cannot be empty.

destination

Destination path inside the container.

chown

Set the owner user and group of the files in the container. Added in 17.09.0-ce.

Linear Supertypes
Serializable, Serializable, Product, Equals, FileStagingDockerfileInstruction, FileStagingInstruction, Instruction, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Copy
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. FileStagingDockerfileInstruction
  7. FileStagingInstruction
  8. Instruction
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Copy(sources: Seq[SourceFile], destination: String, chown: Option[String] = None)

    sources

    Source files. Cannot be empty.

    destination

    Destination path inside the container.

    chown

    Set the owner user and group of the files in the container. Added in 17.09.0-ce.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val chown: Option[String]
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  7. val destination: String
    Definition Classes
    Copy → FileStagingInstruction
  8. def dockerInstruction(sources: Seq[String]): CopyRaw

    Creates a Dockerfile instruction given the final paths of the sources.

    Creates a Dockerfile instruction given the final paths of the sources.

    sources

    Paths to the sources in the staging directory.

    returns

    Dockerfile instruction.

    Definition Classes
    Copy → FileStagingDockerfileInstruction
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. val sources: Seq[SourceFile]
    Definition Classes
    Copy → FileStagingInstruction
  16. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  17. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  19. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from FileStagingInstruction

Inherited from Instruction

Inherited from AnyRef

Inherited from Any

Ungrouped