Skip to content

Commit

Permalink
Merge pull request #2 from quiltdata/aics
Browse files Browse the repository at this point in the history
Add gcc and other things to make it possible to install aicsimageio
  • Loading branch information
dimaryaz authored Aug 24, 2019
2 parents 22ef7fb + 0bd4e7c commit e2d11ad
Showing 1 changed file with 9 additions and 1 deletion.
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

0 comments on commit e2d11ad

Please sign in to comment.