Constructors

Link copied to clipboard
constructor(imageTag: String, lang: LangDockerfile.CFamily.Language)

Properties

Link copied to clipboard

This image's image name and tag for use as another image's tag.

Link copied to clipboard

The base distribution of this image.

Link copied to clipboard
open override val cCompileCommand: String

Compilation command for C source files.

Link copied to clipboard
override val compileCommand: String

Default compilation command.

Link copied to clipboard
open override val cppCompileCommand: String

Compilation command for C++ source files.

Link copied to clipboard

The Dockerfile DSL that the image should be generated from.

Link copied to clipboard
private val fullImageName: String
Link copied to clipboard

The name for the image.

Link copied to clipboard

The tag for the image.

Link copied to clipboard

The default language used for this image.

Link copied to clipboard

The mounting policy for this image.

Link copied to clipboard
open override val runCommand: String? = null

The command used to run executables of the specific language.

Functions

Link copied to clipboard
private suspend fun buildImage(docker: DockerDaemon): DockerImage

Builds an image based on dockerfileSpec, and returns the resulting image ID.

Link copied to clipboard
suspend fun getImage(docker: DockerDaemon): DockerImage

Returns a proxy handle of the image.

Link copied to clipboard
private suspend fun getImageOrNull(docker: DockerDaemon): DockerImage?

Retrieves the image as defined by dockerfileSpec, or null if such an image does not exist.

Link copied to clipboard
suspend fun getTag(docker: DockerDaemon): String

The tag of the image.

Link copied to clipboard

Installs a software package into the distribution.

Link copied to clipboard

Joins a Pair as arguments.

Link copied to clipboard
open override fun resolveRunCmd(baseCmd: String?, baseArgs: List<String>?, entrypoint: String, args: List<String>): String

Resolves the command to execute a baseCmd with baseArgs against entrypoint and args.

Link copied to clipboard
fun runCmd(baseCmd: String? = this.runCommand, baseArgs: List<String>? = null, entrypoint: String, args: List<String> = emptyList()): String

Convenience method to use resolveRunCmd with sensible default arguments.

Link copied to clipboard

Sets the necessary environment variables for the image.

Link copied to clipboard

Updates all packages in the distribution.