o

sbtdocker

Instructions

object Instructions

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Instructions
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class Add (sources: Seq[SourceFile], destination: String) extends FileStagingDockerfileInstruction with Product with Serializable

    Adds files to the image.

    Adds files to the image. If a source file is a tar file it will be extracted as a directory.

    sources

    Source files.

    destination

    Destination path inside the container.

  2. case class AddRaw (sources: Seq[String], destination: String) extends ProductDockerfileInstruction with Product with Serializable

    Adds files from the staging directory to the image.

    Adds files from the staging directory to the image. If a source file is a tar file it will be extracted as a directory.

    sources

    Source path inside the staging directory.

    destination

    Destination path inside the container.

  3. case class Cmd (command: String) extends ProductDockerfileInstruction with Product with Serializable

    When an entry point is specified CMD acts as default arguments that is appended the the entry point command.

    When an entry point is specified CMD acts as default arguments that is appended the the entry point command. If an entry point is not specified CMD will be the default command for the image.

    command

    Command.

  4. case class Copy (sources: Seq[SourceFile], destination: String) extends FileStagingDockerfileInstruction with Product with Serializable

    Adds files to the image.

    Adds files to the image.

    sources

    Source files. Cannot be empty.

    destination

    Destination path inside the container.

  5. case class CopyRaw (sources: Seq[String], destination: String) extends ProductDockerfileInstruction with Product with Serializable

    Adds files from the staging directory to the image.

    Adds files from the staging directory to the image.

    sources

    Source path inside the staging directory. Cannot be empty.

    destination

    Destination path inside the container.

  6. case class EntryPoint (command: String) extends ProductDockerfileInstruction with Product with Serializable

    Command to execute when the image starts.

    Command to execute when the image starts.

    command

    Command.

  7. case class Env (variables: String) extends ProductDockerfileInstruction with Product with Serializable

    Sets environment variables in the image.

    Sets environment variables in the image. Example: "A=1 B=2 C=3"

    variables

    Environment variables.

  8. case class Expose (ports: Seq[Int]) extends ProductDockerfileInstruction with Product with Serializable

    Exposes network ports at runtime.

    Exposes network ports at runtime.

    ports

    Port numbers to expose.

  9. case class From (image: String) extends ProductDockerfileInstruction with Product with Serializable

    Sets the base image for the image.

    Sets the base image for the image.

    image

    Name of the image.

  10. case class Label (labels: String) extends ProductDockerfileInstruction with Product with Serializable

    Sets label(s) for the image.

    Sets label(s) for the image. Docker Version >= 1.6 required. Example: "A=1 B=2 C=3"

    labels

    image labels

  11. case class Maintainer (name: String) extends ProductDockerfileInstruction with Product with Serializable

    Author of the image.

    Author of the image.

    name

    Author name.

  12. case class OnBuild (instruction: DockerfileInstruction) extends ProductDockerfileInstruction with Product with Serializable

    Adds a trigger of a instruction that will be run when the image is used as a base image (FROM).

    Adds a trigger of a instruction that will be run when the image is used as a base image (FROM).

    instruction

    Instruction to run.

  13. case class Raw (instructionName: String, arguments: String) extends DockerfileInstruction with Product with Serializable

    This class allows the user to specify a raw Dockerfile instruction.

    This class allows the user to specify a raw Dockerfile instruction. Example:

    Raw("RUN", "echo '123'")
    // Will yield the following string in the Dockerfile:
    "RUN echo '123'"
    instructionName

    Name of the instruction.

    arguments

    Argument string.

  14. case class Run (command: String) extends ProductDockerfileInstruction with Product with Serializable

    Executes a command when building the image.

    Executes a command when building the image.

    command

    Command which should be executed.

  15. case class StageFiles (sources: Seq[SourceFile], destination: String) extends FileStagingInstruction with Product with Serializable

    Stages files.

    Stages files. Only adds files and directories to the staging directory, will not yield an instruction in the Dockerfile. To use the staged files use the sbtdocker.Instructions.AddRaw and sbtdocker.Instructions.CopyRaw instructions.

    sources

    Source files.

    destination

    Destination path.

  16. case class User (username: String) extends ProductDockerfileInstruction with Product with Serializable

    Sets the user inside the container that should be used for the next instructions.

    Sets the user inside the container that should be used for the next instructions.

    username

    Name of the user.

  17. case class Volume (paths: Seq[String]) extends ProductDockerfileInstruction with Product with Serializable

    Add mount points inside the container.

    Add mount points inside the container.

    paths

    Paths inside the container. Cannot be empty.

  18. case class WorkDir (path: String) extends ProductDockerfileInstruction with Product with Serializable

    Sets the current working directory for the instructions that follow.

    Sets the current working directory for the instructions that follow.

    path

    Path inside the container.

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. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  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
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  15. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. object Add extends Serializable
  21. object AddRaw extends Serializable
  22. object Cmd extends Serializable
  23. object Copy extends Serializable
  24. object CopyRaw extends Serializable
  25. object EntryPoint extends Serializable
  26. object Env extends Serializable
  27. object From extends Serializable
  28. object Label extends Serializable
  29. object Run extends Serializable
  30. object StageFiles extends Serializable
  31. object Volume extends Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped