object DockerPlugin extends AutoPlugin
Docker Plugin
This plugin helps you build docker containers.
Configuration
In order to configure this plugin take a look at the available com.typesafe.sbt.packager.docker.DockerKeys
Requirements
You need docker to have docker installed on your system and be able to execute commands. Check with a single command:
docker version
Future versions of the Docker Plugin may use the REST API, so you don't need docker installed locally.
Enable the plugin in the
build.sbtenablePlugins(DockerPlugin)
- Note
this plugin is not intended to build very customizable docker images, but turn your mappings configuration in a docker image with almost no any configuration.
- Alphabetic
- By Inheritance
- DockerPlugin
- AutoPlugin
- PluginsFunctions
- Basic
- Plugins
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
&&(o: Basic): Plugins
- Definition Classes
- Basic → Plugins
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
UnixSeparatorChar: Char
The separator used by makeCopyLayerIntermediate should be always forced to UNIX separator.
The separator used by makeCopyLayerIntermediate should be always forced to UNIX separator. The separator doesn't depend on the OS where Dockerfile is being built.
-
def
allRequirements: PluginTrigger
- Definition Classes
- PluginsFunctions
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
buildSettings: Seq[sbt.Def.Setting[_]]
- Definition Classes
- AutoPlugin
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
derivedProjects(proj: ProjectDefinition[_]): Seq[Project]
- Definition Classes
- AutoPlugin
-
def
empty: Plugins
- Definition Classes
- PluginsFunctions
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
extraProjects: Seq[Project]
- Definition Classes
- AutoPlugin
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
lazy val
globalSettings: Seq[sbt.Setting[_]]
- Definition Classes
- DockerPlugin → AutoPlugin
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
label: String
- Definition Classes
- AutoPlugin
-
def
mapGenericFilesToDocker: Seq[sbt.Setting[_]]
uses the
mappings in Universalto generate theDocker / mappings. -
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
noTrigger: PluginTrigger
- Definition Classes
- PluginsFunctions
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
projectConfigurations: Seq[sbt.Configuration]
- Definition Classes
- DockerPlugin → AutoPlugin
-
lazy val
projectSettings: Seq[sbt.Setting[_]]
- Definition Classes
- DockerPlugin → AutoPlugin
- def publishDocker(context: File, execCommand: Seq[String], tag: String, log: sbt.Logger, multiplatform: Boolean): Unit
- def publishLocalDocker(context: File, buildCommand: Seq[String], execCommand: Seq[String], strategy: DockerPermissionStrategy, removeIntermediateImages: Boolean, log: sbt.Logger): Unit
-
def
requires: Plugins
- Definition Classes
- DockerPlugin → AutoPlugin
- def rmiDocker(execCommand: Seq[String], tag: String, log: sbt.Logger): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AutoPlugin → AnyRef → Any
-
def
trigger: PluginTrigger
- Definition Classes
- AutoPlugin
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
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()
- object autoImport extends DockerKeysEx