-
Notifications
You must be signed in to change notification settings - Fork 350
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
Runtime failed to start: fork/exec /var/task/bootstrap: exec format error #25
Comments
Hey @torntrousers, I suspect because the target platform. If you are using a Mac, you can follow the tutorial here. Otherwise, use an Amazon Linux Docker container - I posted a Dockerfile definition here |
Thanks, I am using a Mac and I followed that tutorial and was able to get the basic example working. Yay! It wasn't totally straight forward though and needed a few attempts to fix it. I'll see if can write up the minimal steps. Might be good to mention the building on a Mac complications in the README here. |
Ran into this transiently on windows too, with another custom runtime. |
If you are a serverless framework user you may want to check out the rust plugin It provides a more seemless build experience as it uses the lambdaci project's "provided" build env ( a faithful replication of the same env you will be deploying into ) |
for me, it's the problem with the platform. I was on mac with an m1 chip. After setting the architecture to |
Hello. I'm trying this, following whats in the README and getting to the step
aws lambda invoke
for the basic example and it fails with:Any ideas?
The text was updated successfully, but these errors were encountered: