Skip to content

Commit

Permalink
build-and-test.sh: reduce runtume noise caused by missing PROJ_LIB va…
Browse files Browse the repository at this point in the history
…riable

Signed-off-by: Jon Seymour <jon@wildducktheories.com>
  • Loading branch information
jonseymour committed May 14, 2021
1 parent 7d8e184 commit c27bf0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-and-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 '{}'

0 comments on commit c27bf0a

Please sign in to comment.