On MacOs using the dockerless function I get a permission denied error:
{"errorType":"exitError","errorMessage":"RequestId: 8ed9feed-c1a2-1705-f60b-4ca1d6303f50 Error: fork/exec /var/task/bootstrap: permission denied"}
Serverless Error ----------------------------------------
ServerlessError: Failed to run docker for rust image (exit code 1})
at AwsInvokeLocal.invokeLocalDocker (/Users/marijn/qikker/test-serverless-rust/node_modules/serverless/lib/plugins/aws/invokeLocal/index.js:539:13)
at async PluginManager.invoke (/Users/marijn/qikker/test-serverless-rust/node_modules/serverless/lib/classes/PluginManager.js:576:9)
at async PluginManager.run (/Users/marijn/qikker/test-serverless-rust/node_modules/serverless/lib/classes/PluginManager.js:634:7)
at async Serverless.run (/Users/marijn/qikker/test-serverless-rust/node_modules/serverless/lib/Serverless.js:441:5)
at async /snapshot/serverless/scripts/serverless.js:725:9
🐛 Bug description
On MacOs using the dockerless function I get a permission denied error:
I'm using the master branch of this plugin because this should be solved in https://github.com/softprops/serverless-rust/issues/93
Cargo.toml
package.json
serverless.yml
And main.rs
I am running using
serverless invoke local -f test-serverless-rust -d '{"firstName":"world"}'
🤔 Expected Behavior
The function to be built and invoked locally.
🌍 Your environment
MacOs 11.4
serverless version: 2.51.0
rust-plugin version: master branch