Outline: I need to use scikit-image
inside some AWS lambda functions, so I\'m looking to build a custom AWS lambda layer containing sciki
I'm not an expert at this, but I happened to have the very same set of questions on the same day. However I can answer question #1 and #2. Taking them out of order:
2) An AMI is not a docker image, its for use in an EC2 instance.
1) Here is how I got the appropriate docker image:
I installed SAM cli and executed the following commands:
sam init --runtime python3.7 (sets up hello world example)
sam build -u (builds app, -u means use a container)
Output from sam build -u:
Fetching lambci/lambda:build-python3.7 Docker container image
So there you go. You can either get the image from dockerhub directly or if you have SAM cli installed, you can execute "sam build -u". Now that you have the image, you don't have to follow the full SAM workflow, if you don't want the overhead.