Skip to content

Commit e2d11ad

Browse files
authored
Merge pull request #2 from quiltdata/aics
Add gcc and other things to make it possible to install aicsimageio
2 parents 22ef7fb + 0bd4e7c commit e2d11ad

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

Dockerfile

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
FROM amazonlinux:2017.03
22

3-
RUN yum -y install git \
3+
# 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 \
48
python36 \
59
python36-pip \
10+
python36-devel \
611
zip \
712
&& yum clean all
813

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

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

0 commit comments

Comments
 (0)