DockerBuildArgs

data class DockerBuildArgs(val context: Output<String>? = null, val dockerSpecificationType: Output<String>, val dockerfile: Output<String>, val platform: Output<DockerImagePlatformArgs>? = null) : ConvertibleToJava<DockerBuildArgs>

Class to represent configuration settings for Docker Build

Constructors

Link copied to clipboard
constructor(context: Output<String>? = null, dockerSpecificationType: Output<String>, dockerfile: Output<String>, platform: Output<DockerImagePlatformArgs>? = null)

Properties

Link copied to clipboard
val context: Output<String>? = null

Path to a snapshot of the Docker Context. This property is only valid if Dockerfile is specified. The path is relative to the asset path which must contain a single Blob URI value.

Link copied to clipboard
val dockerfile: Output<String>

Required Docker command line instructions to assemble an image.

Link copied to clipboard

Enum to determine docker specification type. Must be either Build or Image. Expected value is 'Build'.

Link copied to clipboard
val platform: Output<DockerImagePlatformArgs>? = null

The platform information of the docker image.

Functions

Link copied to clipboard
open override fun toJava(): DockerBuildArgs