Skip to content

Serverless Invoke inside the docker #11

@piercus

Description

@piercus

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 ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions