Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
FROM amazonlinux:2017.03

RUN yum -y install git \
# 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 \
zip \
&& yum clean all

Expand All @@ -11,3 +16,6 @@ RUN python3 -m pip install --upgrade pip \
# but it's not in the amazonlinux image
&& python3 -m pip install boto3

# Make it possible to build numpy:
# https://github.com/numpy/numpy/issues/14147
ENV CFLAGS=-std=c99