News for hackers. Stuff that matters.
Re:The Case of the Broken Lambda by silvexis on Monday September 24, 2018 @06:42PM (#18062115)
TL;DR; it's trivial.

Run `docker run --name lambdapy36 -it -v $(shell pwd):/mycode lambci/lambda:build-python3.6 /bin/sh -c "pip install -r /mycode/requirements.txt -t /mycode/vendored/"`

All your packages are now compiled for the lambda env and have been placed in the /mycode/vendored folder. Either move them into the root before deploy or add /var/task/vendored to Lambda's python path by setting PYTHONPATH: "/var/runtime:/var/task/vendored"

Re:The Case of the Broken Lambda by lostmsu on Tuesday September 25, 2018 @10:31AM (#18066595)
Lol. That at least requires docked installed! And you have to know that magic line!