A Gradle Plugin for building Docker containers. Executes a locally installed docker build command, which is therefore a pre-requisite.
Apply the plugin using the Gradle 2.1+ plugins DSL element.
plugins {
id 'io.aeon.docker-build' version '0.1'
}
...
dockerBuild {
name "organisation/project:$tagVersion"
dockerFile 'src/main/docker/Dockerfile'
dependsOn myGradleTask
buildArg 'version', project.version
}
| Class | Description |
|---|---|
| DockerBuildPlugin | |
| DockerBuildPluginExtension | Gradle Extension configuring the Docker Build command. |