We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 22ef7fb + 0bd4e7c commit e2d11adCopy full SHA for e2d11ad
Dockerfile
@@ -1,8 +1,13 @@
1
FROM amazonlinux:2017.03
2
3
-RUN yum -y install git \
+# Need to set "ulimit -n" to a small value to stop yum from hanging:
4
+# https://bugzilla.redhat.com/show_bug.cgi?id=1715254#c1
5
+RUN ulimit -n 1024 && yum -y update && yum -y install \
6
+ git \
7
+ gcc \
8
python36 \
9
python36-pip \
10
+ python36-devel \
11
zip \
12
&& yum clean all
13
@@ -11,3 +16,6 @@ RUN python3 -m pip install --upgrade pip \
16
# but it's not in the amazonlinux image
17
&& python3 -m pip install boto3
18
19
+# Make it possible to build numpy:
20
+# https://github.com/numpy/numpy/issues/14147
21
+ENV CFLAGS=-std=c99
0 commit comments