JibDockerConfig
A DockerConfig that builds images using Jib (Google's container image builder). Jib builds without requiring a Docker daemon or CLI, producing optimized layered images.
Attributes
Members list
Type members
Inherited classlikes
Miscellaneous machinery around traversing & querying the build hierarchy, that should not be needed by normal users of Mill
Miscellaneous machinery around traversing & querying the build hierarchy, that should not be needed by normal users of Mill
Attributes
- Inherited from:
- Module
- Source
- Module.scala
- Supertypes
Value members
Concrete methods
Allow connections to insecure registries.
Attributes
- Source
- DockerModule.scala
Custom entrypoint for the container.
Creates the JavaContainerBuilder with Jib's standard Java layering. Override for advanced customization of the layer structure.
Creates the JavaContainerBuilder with Jib's standard Java layering. Override for advanced customization of the layer structure.
Attributes
- Source
- DockerModule.scala
Creates the JibContainerBuilder from the JavaContainerBuilder and applies container parameters (ports, env, labels, etc.). Override for advanced customization of the container configuration.
Creates the JibContainerBuilder from the JavaContainerBuilder and applies container parameters (ports, env, labels, etc.). Override for advanced customization of the container configuration.
Attributes
- Source
- DockerModule.scala
The image format for Jib: Docker (default) or OCI.
Program arguments passed to the main class.
The source image for Jib. Defaults to a RegistryImage using baseImage.
The source image for Jib. Defaults to a RegistryImage using baseImage.
Attributes
- Source
- DockerModule.scala
The target image for Jib. Defaults to a DockerDaemonImage using the first tag.
The target image for Jib. Defaults to a DockerDaemonImage using the first tag.
Attributes
- Source
- DockerModule.scala
Attributes
- Source
- DockerModule.scala
Inherited methods
Attributes
- Inherited from:
- BaseDockerConfig
- Source
- DockerModule.scala
Environment variables to be set in the container.
Environment variables to be set in the container.
See also the Docker docs on ENV for more information.
Attributes
- Inherited from:
- BaseDockerConfig
- Source
- DockerModule.scala
TCP Ports the container will listen to at runtime.
TCP Ports the container will listen to at runtime.
See also the Docker docs on ports for more information.
Attributes
- Inherited from:
- BaseDockerConfig
- Source
- DockerModule.scala
UDP Ports the container will listen to at runtime.
UDP Ports the container will listen to at runtime.
See also the Docker docs on ports for more information.
Attributes
- Inherited from:
- BaseDockerConfig
- Source
- DockerModule.scala
JVM runtime options. Each item of the Seq should consist of an option and its desired value, like
JVM runtime options. Each item of the Seq should consist of an option and its desired value, like
def jvmOptions = Seq("-Xmx1024M", "-agentlib:jdwp=transport=dt_socket,server=y,address=8000", …)
For a full list of options consult the official documentation at https://docs.oracle.com/en/java/javase/21/docs/specs/man/java.html#overview-of-java-options
Attributes
- Inherited from:
- BaseDockerConfig
- Source
- DockerModule.scala
Attributes
- Inherited from:
- BaseDockerConfig
- Source
- DockerModule.scala
Attributes
- Inherited from:
- BaseClass
- Source
- Module.scala
Attributes
- Inherited from:
- Module
- Source
- Module.scala
Attributes
- Inherited from:
- Module
- Source
- Module.scala
Attributes
- Inherited from:
- Module
- Source
- Module.scala
Optional platform parameter.
Optional platform parameter.
In classic Dockerfile mode, uses buildkit to build for specified platform. In Jib mode, parsed as "os/architecture" into a JibPlatform.
See also the Docker docs on https://docs.docker.com/reference/cli/docker/buildx/build/#platform for more information.
Attributes
- Inherited from:
- BaseDockerConfig
- Source
- DockerModule.scala
Attributes
- Inherited from:
- BaseDockerConfig
- Source
- DockerModule.scala
Tags that should be applied to the built image In the standard registry/repository:tag format
Tags that should be applied to the built image In the standard registry/repository:tag format
Attributes
- Inherited from:
- BaseDockerConfig
- Source
- DockerModule.scala
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Definition Classes
-
Module -> Any
- Inherited from:
- Module
- Source
- Module.scala
Any applicable string to the USER instruction.
Any applicable string to the USER instruction.
An empty string will be ignored and will result in USER not being specified. See also the Docker docs on USER for more information.
Attributes
- Inherited from:
- BaseDockerConfig
- Source
- DockerModule.scala