aws-ecr-assets: docker image build with no-cache option #20555
Labels
@aws-cdk/aws-ecr-assets
Related to AWS CDK Docker Image Assets
cause/not-a-bug
Not a bug (might still be a documentation issue, might still need work)
feature-request
A feature should be added or improved.
p2
Describe the feature
We use DockerImageAsset to build an ECR image via aws cdk. I would like to force a build using --no-cache, (we have side scripts that change so we do want the docker build to start completely fresh)
It doesn't look like there is a way to do this so I was thinking of opening a github feature request
https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ecr_assets.DockerImageAsset.html
docker build --no-cache option: https://docs.docker.com/engine/reference/commandline/build/
Use Case
Able to force a full rebuild due to changes not detected by docker.
Proposed Solution
No response
Other Information
No response
Acknowledgements
CDK version used
2.22.0
Environment details (OS name and version, etc.)
windows client, debian container
The text was updated successfully, but these errors were encountered: