aws-lambda-python-alpha: PythonFunction
requires 4 minutes to build and produces a 3GB Docker image
#32682
Labels
@aws-cdk/aws-lambda-python
bug
This issue is a bug.
effort/medium
Medium work item – several days of effort
p3
Describe the bug
The Docker image for this Lambda function was built on an AMD Ryzen 5 7600X CPU.
The resulting image size of 3GB is highly excessive, especially considering that the final Lambda function deployment package is only 3.6MB.
Regression Issue
Last Known Working CDK Version
No response
Expected Behavior
See above.
Current Behavior
See above.
Reproduction Steps
See above.
Possible Solution
Refactor the Dockerfile.
Additional Information/Context
Related issue: #32413
CDK CLI Version
2.173.3
Framework Version
No response
Node.js Version
22.12.0
OS
Ubuntu 24.04.1
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: