erAgent.mill-jib-docker-api_2.12.0.1.0.source-code.JibDockerWorkerApi.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mill-jib-docker-api_2.12 Show documentation
Show all versions of mill-jib-docker-api_2.12 Show documentation
Dockerize java applications on Mill builds
The newest version!
package mill.jib.docker.api
import java.nio.file.Path
sealed trait Image
case class DockerDaemonImage(image: String) extends Image
case class RegistryImage(image: String, username: String, password: String) extends Image
trait JibDockerWorkerApi {
def build(
image: Image,
tags: Seq[String],
baseImage: String,
mainClass: String,
deps: Seq[Path],
projectDeps: Seq[Path],
jvmFlags: Seq[String],
labels: Map[String, String]): Unit
}