[aws-ecs] On MacOS the fromImage filled the trash with content recursively and lock those files in Trash #10858
Labels
@aws-cdk/aws-ecs
Related to Amazon Elastic Container
bug
This issue is a bug.
needs-triage
This issue or PR still needs to be triaged.
I tried to use aws_ecs.ContainerImage.from_asset('..') function to build a Docker image and to use it in a Fargate cluster.
At first, I failed to use this because the path was not correct and I had errors about paths and names being too long.
I fixed the path and went on.
Later on when I tried to empty the trash of my MacOS, I noticed I was not able to do so.
I found out that cdk assets were in the trash and I was not able to delete them.
I tried to remove all docker images related to the CDK and I noticed that the files in Trash seem to be a recursive tree:
Reproduction Steps
Probably by using a bad path in fromImage function.
What did you expect to happen?
Not to have such problem with the trash.
What actually happened?
Environment
1.67.0 (build 2b4dd71)
Other
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: