t

sbtdocker

DockerfileCommands

trait DockerfileCommands extends AnyRef

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

Type Members

  1. abstract type T <: DockerfileCommands

Abstract Value Members

  1. abstract def addInstruction(instruction: Instruction): T
  2. abstract def addInstructions(instructions: TraversableOnce[Instruction]): T
  3. abstract def self: T
    Attributes
    protected

Concrete 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. def add(source: sbt.File, destination: sbt.File): T
  5. def add(sources: Seq[sbt.File], destination: String): T
  6. def add(source: sbt.File, destination: String): T
  7. def addRaw(source: String, destination: sbt.File): T
  8. def addRaw(source: String, destination: String): T
  9. def addRaw(source: sbt.URL, destination: sbt.File): T
  10. def addRaw(source: sbt.URL, destination: String): T
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def cmd(args: String*): T
  14. def cmdRaw(command: String): T
  15. def cmdShell(args: String*): T
  16. def copy(source: sbt.File, destination: sbt.File): T
  17. def copy(sources: Seq[sbt.File], destination: String): T
  18. def copy(source: sbt.File, destination: String): T
  19. def copyRaw(source: String, destination: sbt.File): T
  20. def copyRaw(source: String, destination: String): T
  21. def entryPoint(args: String*): T
  22. def entryPointRaw(command: String): T
  23. def entryPointShell(args: String*): T
  24. def env(variables: Map[String, String]): T
  25. def env(variables: (String, String)*): T
  26. def env(key: String, value: String): T
  27. def envRaw(variables: String): T
  28. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  30. def expose(ports: Int*): T
  31. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  32. def from(image: ImageName): T
  33. def from(image: String): T
  34. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  35. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  36. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  37. def label(lables: Map[String, String]): T
  38. def label(lables: (String, String)*): T
  39. def label(labelName: String, labelValue: String): T
  40. def labelRaw(labels: String): T
  41. def maintainer(name: String, email: String): T
  42. def maintainer(name: String): T
  43. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  44. final def notify(): Unit
    Definition Classes
    AnyRef
  45. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  46. def onBuild(instruction: DockerfileInstruction): T
  47. def run(args: String*): T

    Execute a command in the image.

    Execute a command in the image. Uses exec form. Which means the command will not be executed in a shell.

    Example:

    run("executable", "parameter1", "parameter 2")

    this will yield the raw instruction RUN ["executable", "parameter1", "parameter 2"].

    args

    An executable followed by eventual parameters.

  48. def runRaw(command: String): T

    Execute a command in the image.

    Execute a command in the image.

    Example:

    runRaw("executable parameter1 parameter 2")

    this will yield the raw instruction RUN executable parameter1 parameter 2.

    command

    A command including parameters (on shell or exec form).

  49. def runShell(args: String*): T

    Execute a command in the image.

    Execute a command in the image. The command will be executed through a shell (/bin/sh).

    Example:

    runShell("executable", "parameter1", "parameter 2")

    this will yield the raw instruction RUN executable parameter1 parameter\ 2.

    args

    A command followed by eventual parameters.

  50. def stageFile(source: SourceFile, target: String): T

    Stages a single source.

    Stages a single source.

    source

    What to stage.

    target

    Destination path in the staging directory.

  51. def stageFile(source: sbt.File, target: String): T

    Stage a file.

    Stage a file. The file will be copied to the stage directory when the Dockerfile is built.

    If the target ends with / then the source filename will be added at the end.

    The target file must be unique for this Dockerfile. Otherwise later staged files will overwrite previous files on the same target.

    source

    File to copy into stage dir.

    target

    Path to copy file to, should be relative to the stage dir.

  52. def stageFile(source: sbt.File, target: sbt.File): T

    Stage a file.

    Stage a file. The file will be copied to the stage directory when the Dockerfile is built.

    The target file must be unique for this Dockerfile. Otherwise later staged files will overwrite previous files on the same target.

    source

    File to copy into stage dir.

    target

    Path to copy file to, should be relative to the stage dir.

  53. def stageFiles(sources: Seq[sbt.File], target: String): T

    Stages a multiple files.

    Stages a multiple files.

    sources

    What to stage.

    target

    Destination directory in the staging directory.

  54. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  55. def toString(): String
    Definition Classes
    AnyRef → Any
  56. def user(username: String): T
  57. def volume(mountPoints: String*): T
  58. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  59. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  60. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  61. def workDir(path: String): T

Deprecated Value Members

  1. def add(source: String, destination: sbt.File): T
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) Use addRaw instead.

  2. def add(source: String, destination: String): T
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) Use addRaw instead.

  3. def add(source: sbt.URL, destination: sbt.File): T
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) Use addRaw instead.

  4. def add(source: sbt.URL, destination: String): T
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) Use addRaw instead.

  5. def copy(source: String, destination: sbt.File): T
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) Use copyRaw instead.

  6. def copy(source: String, destination: String): T
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) Use copyRaw instead.

  7. def copy(source: sbt.URL, destination: sbt.File): T
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) Use copyRaw instead.

  8. def copy(source: sbt.URL, destination: String): T
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) Use copyRaw instead.

  9. def copyRaw(source: sbt.URL, destination: sbt.File): T
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.1) Invalid instruction, use addRaw instead

  10. def copyRaw(source: sbt.URL, destination: String): T
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.1) Invalid instruction, use addRaw instead

  11. def copyToStageDir(source: sbt.File, targetRelativeToStageDir: sbt.File): T
    Annotations
    @deprecated
    Deprecated

    (Since version 0.4.0) Use stageFile instead.

Inherited from AnyRef

Inherited from Any

Ungrouped