final case class BuildOptions(cache: Boolean = true, removeIntermediateContainers: Option = BuildOptions.Remove.OnSuccess, pullBaseImage: Option = BuildOptions.Pull.IfMissing, additionalArguments: Seq[String] = Seq.empty) extends Product with Serializable

Options for when building a Docker image.

cache

Use cache when building the image.

removeIntermediateContainers

Remove intermediate containers after a build.

pullBaseImage

Always attempts to pull a newer version of the base image.

additionalArguments

Provide any other arguments to the docker build task, see reference at https://docs.docker.com/engine/reference/commandline/build/#options. For example Seq("--add-host", "127.0.0.1:12345", "--compress").

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BuildOptions
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BuildOptions(cache: Boolean = true, removeIntermediateContainers: Option = BuildOptions.Remove.OnSuccess, pullBaseImage: Option = BuildOptions.Pull.IfMissing, additionalArguments: Seq[String] = Seq.empty)

    cache

    Use cache when building the image.

    removeIntermediateContainers

    Remove intermediate containers after a build.

    pullBaseImage

    Always attempts to pull a newer version of the base image.

    additionalArguments

    Provide any other arguments to the docker build task, see reference at https://docs.docker.com/engine/reference/commandline/build/#options. For example Seq("--add-host", "127.0.0.1:12345", "--compress").

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. val additionalArguments: Seq[String]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val cache: Boolean
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. val pullBaseImage: Option
  15. val removeIntermediateContainers: Option
  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 AnyRef

Inherited from Any

Ungrouped