developmentseed / developmentseed/geolambda

package-python.sh mistakes?

Open
#103 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Dockerfile
Stars
306
Forks
84
PR merge metrics
No merged PRs in 30d

Description

In the package-python.sh, the /lib and /share folders are copied down to the /lambda folder, then zipped under ./python. Although the python/lambda-deploy.zip contains /lib and /share, but they are under ./python/share ./python/lib. This makes them not available as /opt/lib/ /opt/share when it deploys to lambda as a single layer.

Therefore, the zip command needs to be modified to make sure /lib and /share is at the same level of ./python, not under .python.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.