Skip to content
This repository has been archived by the owner on Apr 11, 2020. It is now read-only.

Latest commit

 

History

History
29 lines (21 loc) · 468 Bytes

README.md

File metadata and controls

29 lines (21 loc) · 468 Bytes

Package

Create a Lambda package

make package

or

	docker build --tag package:latest .
	docker run --name lambda -w /var/task --volume $(shell pwd)/:/local -itd package:latest bash
	docker exec -it lambda bash '/local/layer.sh'
	docker stop lambda
	docker rm lambda

Package architecture

package.zip
  ....
  |___ handler.py
  |___ other python module

Lambda config

  • GDAL_DATA: /opt/share/gdal
  • PROJ_LIB: /opt/share/proj