Serverless Framework in a simulated AWS Lambda execution environment
1.2K
Docker images for building AWS Lambda functions with native binary dependencies and deploying them using the Serverless Framework.
This image is very large and overkill for many Lambda applications, but is useful if you wish to write functions that use high-performance native libraries such as libvis and wrappers for them such as the Sharp module for NodeJS.
Images are available for the following language runtimes supported in AWS Lambda:
nodejs8.10)nodejs6.10)python3.6)python2.7)java8)go1.x)If you want to build and use your own local image
# build image locally for Node.JS v8.10
$ make build LANG=nodejs8.10
# go inside a container instance for the local Node.JS v8.10 image
$ make shell LANG=nodejs8.10
example/apigw is an example on how to use boomfish/lambda-serverless.
SERVERLESS in the Dockerfile for the language runtime you wish to testDockerfiles of the other language runtimes (if applicable)$ make push LANG={lang}Build Details tab, you should now see the build for the runtime tag kicking off$ make push LANG={lang}Dockerfiles of the other language runtimes (if applicable)$ make push LANG={lang}Build Details tab, you should now see the build for the runtime tag kicking offThe images use build images from lambci/lambda for their base so that deployment packages built in it will be highly compatible with the Lambda execution environment. According to the maintainers, the base images include the following packages:
These image also add the following:
Content type
Image
Digest
Size
652 MB
Last updated
almost 7 years ago
docker pull boomfish/lambda-serverless:nodejs8.10