Steffen Kaiser describes how to build SKLearn python libraries for AWS Lambda here: https://medium.com/@stekaiser/cba9355b44e9
This repository contains up-to-date commands to repeat these steps.
If you simply want to add the SKLearn libraries to your project:
docker run -v $(pwd):/outputs -it markmarijnissen/sklearn-build:latest
If you want to change the script:
- Copy
Dockerfile
andbuild.sh
to your directory. - Tweak the scripts.
- Build a docker image:
docker build -t sklearn-build .
- Run it:
docker run -v $(pwd):/outputs -it sklearn-build:latest
python34-setuptools
was missing from yum install- pandas is not installed (!)