From 23482ea5db536cc5aaa9b34da3c268bcbb3bcc3e Mon Sep 17 00:00:00 2001
From: Florent Jaillet <florent.jaillet@lis-lab.fr>
Date: Wed, 13 Jun 2018 09:52:14 +0200
Subject: [PATCH] Update dockerfile to allow installing ltfatpy via pip (will
 be used for pyteuf)

---
 docker/Dockerfile_ubuntu_18.04 | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/docker/Dockerfile_ubuntu_18.04 b/docker/Dockerfile_ubuntu_18.04
index 2f0ea88..dedc3fb 100644
--- a/docker/Dockerfile_ubuntu_18.04
+++ b/docker/Dockerfile_ubuntu_18.04
@@ -2,6 +2,9 @@ FROM ubuntu:18.04
 MAINTAINER Florent Jaillet
 WORKDIR /
 ENV DEBIAN_FRONTEND noninteractive
+# In the following "apt-get install ..." command, cmake, make, g++,
+# libfftw3-dev, and liblapack-dev are not needed for madarrays but are added
+# to be able to install ltfatpy via pip
 RUN apt-get update && \
     apt-get upgrade -y && \
     apt-get install -y --no-install-recommends \
@@ -12,7 +15,6 @@ RUN apt-get update && \
         python3-numpy\
         python3-scipy \
         python3-matplotlib \
-        python3-ltfatpy \
         ipython3 \
         python3-six \
         python3-numba \
@@ -28,7 +30,12 @@ RUN apt-get update && \
         python3-nbsphinx \
         jupyter-client \
         jupyter-notebook \
-        pandoc \        
+        pandoc \
+        cmake \
+        make \
+        g++ \
+        libfftw3-dev \
+        liblapack-dev \
         && \
     apt-get clean
 RUN mkdir -p /root/.config/matplotlib && \
-- 
GitLab