Skip to content

Commit

Permalink
Add gcc and other things to make it possible to install aicsimageio
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaryaz committed Aug 22, 2019
1 parent 22ef7fb commit 0bd4e7c
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 0bd4e7c

Please sign in to comment.