-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: sam local start-api fails to build docker image #7825
Comments
I should also mention that I don't get this error when I use the provided.al2 runtime for the lambdas. But that runtime gives me this error mentioned in this issue: awslabs/aws-lambda-rust-runtime#874. So they recomended using provided.al2023 to fix the issue, but it fails to build the docker image as described in my post. |
Thanks for reporting, could you help to share the template you have to point to al2023? I'm trying to reproduce this issue. |
@roger-zhangg Sure, here is the template file:
|
Thanks, will try and reproduce this |
Description:
When I run
sam local start-api
for a rust lambda sam project, it fails to build the docker image neccessary to emulate the rust lambda functions locally.Steps to reproduce:
I created a rust lambda project and ran
sam local start-api
to run the lambda api locally.Observed result:
Expected result:
I expect it to build the docker images for rust lambda emulation without any errors.
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
Add --debug flag to command you are running
The text was updated successfully, but these errors were encountered: