(codebuild): allow LinuxGpuBuildImage to directly reference an image from any ECR repository #16500
Labels
@aws-cdk/aws-codebuild
Related to AWS CodeBuild
effort/small
Small work item – less than a day of effort
feature/coverage-gap
Gaps in CloudFormation coverage by L2 constructs
feature-request
A feature should be added or improved.
good first issue
Related to contributions. See CONTRIBUTING.md
p1
This is to bring feature parity between
LinuxBuildImage
(https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-codebuild.LinuxBuildImage.html#static-fromwbrecrwbrrepositoryrepository-tag) andLinuxGpuBuildImage
(https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-codebuild.LinuxGpuBuildImage.html).Specifically, add the
fromEcrRepository
method in this class.Use Case
Currently need to hack around this constraint to obtain an Linux GPU build image using a customised ECR repository. We would like a direct way to declare this as in
LinuxBuildImage
, i.e.Proposed Solution
Add a
fromEcrRepository
method inLinuxGpuBuildImage
similar to the one inLinuxBuildImage
to hook up with the underlying Cfn classes.Other
This is a 🚀 Feature Request
The text was updated successfully, but these errors were encountered: