Skip to content
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

Lambda fails with an error "Error: fork/exec /var/task/bootstrap: no such file or directory" #1

Open
YanaValchokTR opened this issue Oct 29, 2020 · 0 comments

Comments

@YanaValchokTR
Copy link

I tried bootstraping your example with cloning the complete example and deploying it into AWS. On every invocation lambda fails with the same error:

Error: fork/exec /var/task/bootstrap: no such file or directory Runtime.InvalidEntrypoint

I checked a zip archive with code (which is used be lambda function) and bootstrap file is inside the zip file.

How To Reproduce the Issue
I don't have any particular instruction, I simply took the complete example, followed instructions about building a native image and then deployed a builded zip-file.

I wonder if it's even possible to deploy Micronaut Serverless function with native image or is the feature broken. I tried to deploy you Micronaut Application with native image (following this guide) and it worked fine to me.

Thanks in advance for any help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant