Skip to content

DockerImageAsset: Support --no-cache #27916

@austinmw

Description

@austinmw

Describe the feature

Currently there's no option to build docker images without caching. The last comment on #20555 explains that this doesn't function as intended.

Use Case

I have a pyproject.toml that requires installing a package from mainline. It currently has no idea if/when mainline has changed and therefore uses cached layers. I need to manually delete local and ECR layers each time to force rebuild.

Proposed Solution

Add ability to pass args that don't take values.

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CDK version used

latest

Environment details (OS name and version, etc.)

MacOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-lambdaRelated to AWS Lambdaeffort/mediumMedium work item – several days of effortfeature-requestA feature should be added or improved.p1

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions