ImageArgs class

The set of arguments for Image. The set of arguments for Image.

Constructors

ImageArgs({Input<Map<String, String>?>? args, Input<BuilderVersion?>? builderVersion, Input<List<String>?>? cacheFrom, Input<String?>? context, Input<String?>? dockerfile, Input<String?>? imageName, Input<String?>? imageTag, Input<String?>? platform, Input<String?>? registryId, required Input<String> repositoryUrl, Input<String?>? target})
Creates a new ImageArgs. args An optional map of named build-time argument variables to set during the Docker build. This flag allows you to pass built-time variables that can be accessed like environment variables inside the RUN instruction. builderVersion The version of the Docker builder. cacheFrom Images to consider as cache sources context Path to a directory to use for the Docker build context, usually the directory in which the Dockerfile resides (although dockerfile may be used to choose a custom location independent of this choice). If not specified, the context defaults to the current working directory; if a relative path is used, it is relative to the current working directory that Pulumi is evaluating. dockerfile dockerfile may be used to override the default Dockerfile name and/or location. By default, it is assumed to be a file named Dockerfile in the root of the build context. imageName Custom name for the underlying Docker image resource. If omitted, the image tag assigned by the provider will be used imageTag Custom image tag for the resulting docker image. If omitted a random string will be used platform The architecture of the platform you want to build this image for, e.g. linux/arm64. registryId ID of the ECR registry in which to store the image. If not provided, this will be inferred from the repository URL) repositoryUrl Url of the repository target The target of the dockerfile to build
const
ImageArgs.fromMap(Map<String, dynamic> map)
factory

Properties

args → Input<Map<String, String>?>?
An optional map of named build-time argument variables to set during the Docker build. This flag allows you to pass built-time variables that can be accessed like environment variables inside the RUN instruction.
final
builderVersion → Input<BuilderVersion?>?
The version of the Docker builder.
final
cacheFrom → Input<List<String>?>?
Images to consider as cache sources
final
context → Input<String?>?
Path to a directory to use for the Docker build context, usually the directory in which the Dockerfile resides (although dockerfile may be used to choose a custom location independent of this choice). If not specified, the context defaults to the current working directory; if a relative path is used, it is relative to the current working directory that Pulumi is evaluating.
final
dockerfile → Input<String?>?
dockerfile may be used to override the default Dockerfile name and/or location. By default, it is assumed to be a file named Dockerfile in the root of the build context.
final
hashCode → int
The hash code for this object.
no setterinherited
imageName → Input<String?>?
Custom name for the underlying Docker image resource. If omitted, the image tag assigned by the provider will be used
final
imageTag → Input<String?>?
Custom image tag for the resulting docker image. If omitted a random string will be used
final
platform → Input<String?>?
The architecture of the platform you want to build this image for, e.g. linux/arm64.
final
registryId → Input<String?>?
ID of the ECR registry in which to store the image. If not provided, this will be inferred from the repository URL)
final
repositoryUrl → Input<String>
Url of the repository
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
target → Input<String?>?
The target of the dockerfile to build
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited