Docker image, which helps on aws lambda packaging. Only for python for now.
It installs all dependencies for the function and creates a package.zip which can be uploaded to AWS
- checkout
- run
docker build -t aws_lambda .
- the container needs the folder containing the sources (*.py and requirements.txt) mounted under
/src
- you can build and run it by yourself
docker run -it --rm -v $(pwd):/src aws_lambda
- use the dockerhub image
docker run -it --rm -v $(pwd):/src batchovski/lambda-package