From 41dc89b23ba4ec5ac74f8858eaaffd98ff751682 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2E=20Fernando=20S=C3=A1nchez?= Date: Mon, 8 Jan 2018 00:46:37 +0100 Subject: [PATCH] Fix testing makefiles and dependencies --- Dockerfile.template | 6 ++++++ test-requirements.txt | 2 ++ 2 files changed, 8 insertions(+) diff --git a/Dockerfile.template b/Dockerfile.template index 2ec4f72..9074492 100644 --- a/Dockerfile.template +++ b/Dockerfile.template @@ -2,6 +2,12 @@ from python:{{PYVERSION}} MAINTAINER J. Fernando Sánchez +RUN apt-get update && apt-get install -y \ +libblas-dev liblapack-dev liblapacke-dev gfortran \ + && rm -rf /var/lib/apt/lists/* + +RUN pip install --upgrade numpy scipy scikit-learn + RUN mkdir /cache/ /senpy-plugins /data/ VOLUME /data/ diff --git a/test-requirements.txt b/test-requirements.txt index bd8891e..a6f034d 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,4 +1,6 @@ mock pytest-cov pytest +scikit-learn +numpy gsitk