ImageArgs constructor

const ImageArgs({
  1. Input<Map<String, String>?>? args,
  2. Input<BuilderVersion?>? builderVersion,
  3. Input<List<String>?>? cacheFrom,
  4. Input<String?>? context,
  5. Input<String?>? dockerfile,
  6. Input<String?>? imageName,
  7. Input<String?>? imageTag,
  8. Input<String?>? platform,
  9. Input<String?>? registryId,
  10. required Input<String> repositoryUrl,
  11. 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

Implementation

const ImageArgs({
  this.args,
  this.builderVersion,
  this.cacheFrom,
  this.context,
  this.dockerfile,
  this.imageName,
  this.imageTag,
  this.platform,
  this.registryId,
  required this.repositoryUrl,
  this.target,
});