Building Docker Images on M1 Mac for Other Platforms
In order to build Docker images for Lambda functions with CDK on ARM or other non-Intel platforms, but want the Lambda to be on an x86_64 platform, use the platform parameter with the from_image_asset() function.