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 buildtask, see reference at https://docs.docker.com/engine/reference/commandline/build/#options. For exampleSeq("--add-host", "127.0.0.1:12345", "--compress").
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- BuildOptions
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
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 buildtask, see reference at https://docs.docker.com/engine/reference/commandline/build/#options. For exampleSeq("--add-host", "127.0.0.1:12345", "--compress").
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
- val additionalArguments: Seq[String]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val cache: Boolean
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
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 pullBaseImage: Option
- val removeIntermediateContainers: Option
-
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