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; \ 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