Cmd

com.typesafe.sbt.packager.docker.Cmd
case class Cmd(cmd: String, args: String*) extends CmdLike

An arbitrary command

Attributes

Example
 val add = Cmd("ADD", "src/resource/LICENSE.txt", "/opt/docker/LICENSE.txt")
 val copy = Cmd("COPY", "src/resource/LICENSE.txt", "/opt/docker/LICENSE.txt")
 val env = Cmd("ENV", "APP_SECRET", "7sdfy7s9hfisdufuusud")
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait CmdLike
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def makeContent: String

Creates the command which can be placed inside a Dockerfile.

Creates the command which can be placed inside a Dockerfile.

Attributes

Returns

the docker command

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product