RegistryImageBuildArgs

data class RegistryImageBuildArgs(val authConfigs: Output<List<RegistryImageBuildAuthConfigArgs>>? = null, val buildArgs: Output<Map<String, String>>? = null, val buildId: Output<String>? = null, val cacheFroms: Output<List<String>>? = null, val cgroupParent: Output<String>? = null, val context: Output<String>, val cpuPeriod: Output<Int>? = null, val cpuQuota: Output<Int>? = null, val cpuSetCpus: Output<String>? = null, val cpuSetMems: Output<String>? = null, val cpuShares: Output<Int>? = null, val dockerfile: Output<String>? = null, val extraHosts: Output<List<String>>? = null, val forceRemove: Output<Boolean>? = null, val isolation: Output<String>? = null, val labels: Output<Map<String, String>>? = null, val memory: Output<Int>? = null, val memorySwap: Output<Int>? = null, val networkMode: Output<String>? = null, val noCache: Output<Boolean>? = null, val platform: Output<String>? = null, val pullParent: Output<Boolean>? = null, val remoteContext: Output<String>? = null, val remove: Output<Boolean>? = null, val securityOpts: Output<List<String>>? = null, val sessionId: Output<String>? = null, val shmSize: Output<Int>? = null, val squash: Output<Boolean>? = null, val suppressOutput: Output<Boolean>? = null, val target: Output<String>? = null, val ulimits: Output<List<RegistryImageBuildUlimitArgs>>? = null, val version: Output<String>? = null) : ConvertibleToJava<RegistryImageBuildArgs>

Constructors

Link copied to clipboard
constructor(authConfigs: Output<List<RegistryImageBuildAuthConfigArgs>>? = null, buildArgs: Output<Map<String, String>>? = null, buildId: Output<String>? = null, cacheFroms: Output<List<String>>? = null, cgroupParent: Output<String>? = null, context: Output<String>, cpuPeriod: Output<Int>? = null, cpuQuota: Output<Int>? = null, cpuSetCpus: Output<String>? = null, cpuSetMems: Output<String>? = null, cpuShares: Output<Int>? = null, dockerfile: Output<String>? = null, extraHosts: Output<List<String>>? = null, forceRemove: Output<Boolean>? = null, isolation: Output<String>? = null, labels: Output<Map<String, String>>? = null, memory: Output<Int>? = null, memorySwap: Output<Int>? = null, networkMode: Output<String>? = null, noCache: Output<Boolean>? = null, platform: Output<String>? = null, pullParent: Output<Boolean>? = null, remoteContext: Output<String>? = null, remove: Output<Boolean>? = null, securityOpts: Output<List<String>>? = null, sessionId: Output<String>? = null, shmSize: Output<Int>? = null, squash: Output<Boolean>? = null, suppressOutput: Output<Boolean>? = null, target: Output<String>? = null, ulimits: Output<List<RegistryImageBuildUlimitArgs>>? = null, version: Output<String>? = null)

Properties

Link copied to clipboard

The configuration for the authentication

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

Pairs for build-time variables in the form TODO

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

BuildID is an optional identifier that can be passed together with the build request. The same identifier can be used to gracefully cancel the build with the cancel request.

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

Images to consider as cache sources

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

Optional parent cgroup for the container

Link copied to clipboard
val context: Output<String>

The absolute path to the context folder. You can use the helper function '${path.cwd}/context-dir'.

Link copied to clipboard
val cpuPeriod: Output<Int>? = null

The length of a CPU period in microseconds

Link copied to clipboard
val cpuQuota: Output<Int>? = null

Microseconds of CPU time that the container can get in a CPU period

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

CPUs in which to allow execution (e.g., 0-3, 0, 1)

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

MEMs in which to allow execution (0-3, 0, 1)

Link copied to clipboard
val cpuShares: Output<Int>? = null

CPU shares (relative weight)

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

Dockerfile file. Defaults to Dockerfile

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

A list of hostnames/IP mappings to add to the container’s /etc/hosts file. Specified in the form "hostname:IP"

Link copied to clipboard
val forceRemove: Output<Boolean>? = null

Always remove intermediate containers

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

Isolation represents the isolation technology of a container. The supported values are

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

User-defined key/value metadata

Link copied to clipboard
val memory: Output<Int>? = null

Set memory limit for build

Link copied to clipboard
val memorySwap: Output<Int>? = null

Total memory (memory + swap), -1 to enable unlimited swap

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

Set the networking mode for the RUN instructions during build

Link copied to clipboard
val noCache: Output<Boolean>? = null

Do not use the cache when building the image

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

Set platform if server is multi-platform capable

Link copied to clipboard
val pullParent: Output<Boolean>? = null

Attempt to pull the image even if an older image exists locally

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

A Git repository URI or HTTP/HTTPS context URI

Link copied to clipboard
val remove: Output<Boolean>? = null

Remove intermediate containers after a successful build (default behavior)

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

The security options

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

Set an ID for the build session

Link copied to clipboard
val shmSize: Output<Int>? = null

Size of /dev/shm in bytes. The size must be greater than 0

Link copied to clipboard
val squash: Output<Boolean>? = null

If true the new layers are squashed into a new image with a single new layer

Link copied to clipboard
val suppressOutput: Output<Boolean>? = null

Suppress the build output and print image ID on success

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

Set the target build stage to build

Link copied to clipboard

Configuration for ulimits

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

Version of the underlying builder to use

Functions

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