From 2f0be5a27f1ed407e51b2561b49820950f1752fe Mon Sep 17 00:00:00 2001 From: Stefan Verhoeven Date: Sun, 26 Aug 2018 13:12:59 +0200 Subject: [PATCH] Numpy gets upgraded after scikit-learn is installed. Make sure scikit-learn is compatible with currently installed numpy, by reinstalling Refs #56 Refs #53 --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 7813912..7f97847 100644 --- a/Dockerfile +++ b/Dockerfile @@ -145,6 +145,9 @@ RUN cd / && \ cd /crankshaft && \ git checkout $CRANKSHAFT_VERSION && \ make install && \ + # Numpy gets upgraded after scikit-learn is installed + # make sure scikit-learn is compatible with currently installed numpy, by reinstalling + pip install --force-reinstall --no-cache-dir scikit-learn==0.14.1 && \ cd .. # Initialize template postgis db