-
Notifications
You must be signed in to change notification settings - Fork 12
Serverless Invoke inside the docker #11
Copy link
Copy link
Open
Labels
Description
Hello @alexleonescalera,
On my point of view, there is one missing killer-feature
Currently i would like to have a local test which is running 'with' packaged's version of packaged library.
It will give the ability to test :
- Packaging
- Some optimization
- CI workflow tests
To do this, I need to have the ability to invoke the function inside a 'built docker' before deploying.
Design proposal
I would like to design it like :
serverless invoke docker --function --function functionName --stage dev --region us-east-1 --log
This would call serverless invoke local --function --function functionName --stage dev --region us-east-1 --log inside a specific amazonlinux docker container with all the zip librairies in the right place.
What do you think ?
Are you interested to include this into serverless-ephemeral ?
Are you open to PR regarding this ?
Do you see any future limitations ?
Reactions are currently unavailable