diff --git a/Dockerfile b/Dockerfile index 7067f11..4cfa6ba 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,13 @@ -FROM amazonlinux:2018.03 +FROM amazonlinux:2 # Need to set "ulimit -n" to a small value to stop yum from hanging: # https://bugzilla.redhat.com/show_bug.cgi?id=1715254#c1 RUN ulimit -n 1024 && yum -y update && yum -y install \ git \ gcc \ - python36 \ - python36-pip \ - python36-devel \ + python38 \ + python38-pip \ + python38-devel \ jq \ nano \ unzip \ @@ -16,7 +16,7 @@ RUN ulimit -n 1024 && yum -y update && yum -y install \ COPY requirements.txt quilt/requirements.txt -RUN python3 -m pip install pip==18.1 +RUN python3 -m pip install pip==21.1.1 # Requirements copied from lambda Python 3.6, but not in base image # (Plus Cython which is a build-time requirement for numpy) diff --git a/requirements.txt b/requirements.txt index a709c7a..8d28e83 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,10 +1,11 @@ -# from `pip freeze` under Python 3.6 lambda image 16-Apr-2020 -boto3==1.12.22 -botocore==1.15.22 -Cython==0.29.21 -docutils==0.15.2 -jmespath==0.9.5 -python-dateutil==2.8.1 -s3transfer==0.3.3 -six==1.14.0 -urllib3==1.25.8 +# from `pip freeze` under Python 3.8 lambda image 01-Sep-2021 +boto3==1.17.100 +botocore==1.20.100 +Cython==0.29.24 +jmespath==0.10.0 +python-dateutil==2.8.2 +rapid-client==0.0.0 +s3transfer==0.4.2 +six==1.16.0 +urllib3==1.26.6 +