DockerBuildArgs

data class DockerBuildArgs(val args: Output<Map<String, String>>? = null, val builderVersion: Output<BuilderVersion>? = null, val cacheFrom: Output<CacheFromArgs>? = null, val context: Output<String>? = null, val dockerfile: Output<String>? = null, val platform: Output<String>? = null, val target: Output<String>? = null) : ConvertibleToJava<DockerBuildArgs>

The Docker build context

Constructors

Link copied to clipboard
fun DockerBuildArgs(args: Output<Map<String, String>>? = null, builderVersion: Output<BuilderVersion>? = null, cacheFrom: Output<CacheFromArgs>? = null, context: Output<String>? = null, dockerfile: Output<String>? = null, platform: Output<String>? = null, target: Output<String>? = null)

Functions

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

Properties

Link copied to clipboard
val args: Output<Map<String, String>>? = null

An optional map of named build-time argument variables to set during the Docker build. This flag allows you to pass build-time variablesthat can be accessed like environment variables inside the RUN instruction.

Link copied to clipboard
val builderVersion: Output<BuilderVersion>? = null

The version of the Docker builder.

Link copied to clipboard
val cacheFrom: Output<CacheFromArgs>? = null

A list of image names to use as build cache. Images provided must have a cache manifest. Must provide authentication to cache registry.

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

The path to the build context to use.

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

The path to the Dockerfile to use.

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

The architecture of the platform you want to build this image for, e.g. linux/arm64.

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

The target of the Dockerfile to build