/amazonlinux-numpy-lambda

Primary LanguageDockerfileApache License 2.0Apache-2.0

amazonlinux-numpy-lambda

This is a wrapper of the amazonlinux 2 20220719 docker image that can be used to package and deploy Python3.x lambda functions that use pandas and/or numpy.

Summary

When running lambda functions, you need to create a package containing all the requirements for the function. If you are using numpy or pandas for data science, you will need to compile these libraries in the same OS they are going to be running (amazonlinux).

This image contains python3.x, pip3 numpy and pandas pre-installed to reduce build and deployment times. Nodejs is also installed in oder to use deployment tools like the Serverless Framework.

Install

docker run -t -d -v /path/to/code:/app onema/amazonlinux4lambda:latest

Reference