From f82e277e5280d382431b1f9e9d08806e2b6a9586 Mon Sep 17 00:00:00 2001 From: Matthew Hanson Date: Thu, 26 Jul 2018 15:15:13 -0400 Subject: [PATCH 1/2] remove empty continuation lines --- Dockerfile.base | 2 -- 1 file changed, 2 deletions(-) diff --git a/Dockerfile.base b/Dockerfile.base index 546a5b6..19523a6 100644 --- a/Dockerfile.base +++ b/Dockerfile.base @@ -5,11 +5,9 @@ FROM lambdalinux/baseimage-amzn:2017.03-004 RUN \ yum -y update; \ - # python 3.6 yum install -y python36-devel python36-pip; \ pip-3.6 install boto3 pytest; \ pip-3.6 install --upgrade pip; \ - # python 2.7 yum install -y python27-devel python27-pip; \ pip-2.7 install boto3 pytest; \ pip-2.7 install --upgrade pip; \ From d3d3a5654d68d9ca742a993eefdfe77873517835 Mon Sep 17 00:00:00 2001 From: Matthew Hanson Date: Thu, 26 Jul 2018 15:18:04 -0400 Subject: [PATCH 2/2] fix copying of gdal data files --- bin/lambda-package-base.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/lambda-package-base.sh b/bin/lambda-package-base.sh index 769cd86..eb1c876 100755 --- a/bin/lambda-package-base.sh +++ b/bin/lambda-package-base.sh @@ -33,7 +33,7 @@ rsync -ax $PREFIX/lib64/python$PYVER/site-packages/ $DEPLOY_DIR/ \ # copy GDAL_DATA files over mkdir -p $DEPLOY_DIR/share -rsync -ax $PREFIX/share/gdal share/ +rsync -ax $PREFIX/share/gdal $DEPLOY_DIR/share/ # zip up deploy package cd $DEPLOY_DIR