From c27bf0aede86d3ac46436b93a6badeaf7c65077c Mon Sep 17 00:00:00 2001 From: Jon Seymour Date: Thu, 13 May 2021 13:46:44 +1000 Subject: [PATCH] build-and-test.sh: reduce runtume noise caused by missing PROJ_LIB variable Signed-off-by: Jon Seymour --- build-and-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-and-test.sh b/build-and-test.sh index c0fba7c..3e8b606 100755 --- a/build-and-test.sh +++ b/build-and-test.sh @@ -10,4 +10,4 @@ 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 --rm -e PROJ_LIB=/opt/share/proj -v ${PWD}/lambda:/var/task -v ${PWD}/../lambda:/opt lambci/lambda:python3.7 lambda_function.lambda_handler '{}'