aws / aws-lambda-runtime-interface-emulator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does not work on OSX

staenker opened this issue · comments

~  aws-lambda-rie
zsh: exec format error: aws-lambda-rie
✘  ~ 

Binary is compiled only for Linux: https://github.com/aws/aws-lambda-runtime-interface-emulator/blob/main/Makefile#L11, as it is meant to run inside a container on the same OS/Arch as Lambda. So this is intentionally not supported. To test locally, add or mount the binary into a container, as described in the README.

I believe that the initial table is very misleading. I also thought that using some kind of magic the executable was multiplatform. Indeed is not, at it should be, and only Linux is avutally supported. Please state that explicitely and remove the table.