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
Ordering
- Alphabetic
- By Inheritance
Inherited
- Copy
- Serializable
- Serializable
- Product
- Equals
- FileStagingDockerfileInstruction
- FileStagingInstruction
- Instruction
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val chown: Option[String]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
val
destination: String
- Definition Classes
- Copy → FileStagingInstruction
-
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
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
val
sources: Seq[SourceFile]
- Definition Classes
- Copy → FileStagingInstruction
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated