fix foss-heartbeat

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>
This commit is contained in:
Jess Frazelle 2019-07-24 17:37:47 -07:00
parent 2ae5a5eb18
commit 6aeb21db8e
No known key found for this signature in database
GPG key ID: 511342F2E11BC77E

View file

@ -6,7 +6,8 @@ RUN apk add --no-cache \
gfortran \
lapack \
openjdk8-jre-base \
py3-numpy
py3-numpy \
py3-scipy
# Install the requirements
RUN set -x \
@ -20,6 +21,7 @@ RUN set -x \
&& git clone --depth 1 https://github.com/sarahsharp/foss-heartbeat.git /usr/src/foss-heartbeat \
&& ( \
cd /usr/src/foss-heartbeat \
&& cat requirements.txt | grep -v numpy | grep -v scipy | tee requirements.txt \
&& pip install -r requirements.txt \
&& pip install statistics \
) \