diff --git a/building/lambda/Dockerfile b/building/lambda/Dockerfile index 503e6f0a2..4ce0b4d47 100644 --- a/building/lambda/Dockerfile +++ b/building/lambda/Dockerfile @@ -18,6 +18,9 @@ ADD requirements.txt /root/ RUN pip3 install -r /root/requirements.txt ADD requirements-dev.txt /root/ +# Removing "-e ." installation +RUN head -n -2 /root/requirements-dev.txt > /root/temp.txt +RUN mv /root/temp.txt /root/requirements-dev.txt RUN pip3 install -r /root/requirements-dev.txt RUN rm -rf /root/requirements* diff --git a/building/lambda/build-lambda-layer.sh b/building/lambda/build-lambda-layer.sh index ad8446610..f44f0ca5c 100644 --- a/building/lambda/build-lambda-layer.sh +++ b/building/lambda/build-lambda-layer.sh @@ -14,7 +14,7 @@ export ARROW_HOME=$(pwd)/dist export LD_LIBRARY_PATH=$(pwd)/dist/lib:$LD_LIBRARY_PATH git clone \ - --branch apache-arrow-1.0.1 \ + --branch apache-arrow-2.0.0 \ --single-branch \ https://github.com/apache/arrow.git