brysontyrrell / Possum

A packaging tool for Python based AWS serverless applications.
MIT License
21 stars 2 forks source link

Add option to run with a Docker #3

Closed brysontyrrell closed 6 years ago

brysontyrrell commented 6 years ago

To properly build Lambda packages for certain packages (e.g. cryptography), add an option to run Possum using a selected Docker image (e.g. lambci/lambda:build-python3.6).

Suggested interface:

possum --docker lambci/lambda:build-python3.6 my-s3-bucket

Possum would mount the current directory in the container. If AWS the credentials file is found it will also be mounted into the container. Otherwise, if the credentials are available in the environment, those vars will be passed to the container.

brysontyrrell commented 6 years ago

Docker support added in v1.3.