diff --git a/build-and-test.sh b/build-and-test.sh index bc7309a..2bb67d0 100755 --- a/build-and-test.sh +++ b/build-and-test.sh @@ -9,4 +9,5 @@ cd python docker build . --build-arg VERSION=${VERSION} -t developmentseed/geolambda:${VERSION}-python docker run -v ${PWD}:/home/geolambda -t developmentseed/geolambda:${VERSION}-python package-python.sh -docker run --rm -v ${PWD}/lambda:/var/task -v ${PWD}/../lambda:/opt lambci/lambda:python3.7 lambda_function.lambda_handler '{}' +docker run -e GDAL_DATA=/opt/share/gdal -e PROJ_LIB=/opt/share/proj \ + --rm -v ${PWD}/lambda:/var/task -v ${PWD}/../lambda:/opt lambci/lambda:python3.7 lambda_function.lambda_handler '{}'