Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
akarve committed Apr 16, 2020
1 parent 0bd4e7c commit 4a68698
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM amazonlinux:2017.03
FROM amazonlinux:2018.03
COPY requirements.txt quilt/requirements.txt

# Need to set "ulimit -n" to a small value to stop yum from hanging:
# https://bugzilla.redhat.com/show_bug.cgi?id=1715254#c1
Expand All @@ -11,10 +12,10 @@ RUN ulimit -n 1024 && yum -y update && yum -y install \
zip \
&& yum clean all

RUN python3 -m pip install --upgrade pip \
# boto3 is available to lambda processes by default,
# but it's not in the amazonlinux image
&& python3 -m pip install boto3
RUN python3 -m pip install pip==18.1

# Requirements copied form lambda Python 3.6, but not in base image
RUN pip install -r quilt/requirements.txt

# Make it possible to build numpy:
# https://github.com/numpy/numpy/issues/14147
Expand Down
9 changes: 9 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# from `pip freeze` under Python 3.6 lambda image 16-Apr-2020
boto3==1.12.22
botocore==1.15.22
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

0 comments on commit 4a68698

Please sign in to comment.