aeddi / aws-lambda-python-opencv

Simple script that builds an AWS Lambda deployment package including OpenCV

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ubuntu build.sh

the-real-adammork opened this issue · comments

changes to build.sh for an Ubuntu AMI for Lambda.

Not sure if anyone will find this useful, but if you change the two 'sudo yum ....' lines to

sudo apt-get update -y
sudo apt-get install -y git cmake g++ gcc python2.7-dev chrpath

the script should function as intended.

i had to make some more changes, I created a fork here - https://github.com/the-real-adammork/aws-lambda-python-opencv