From 7732346db0cfdbc558ceb673e7fce016ce35d191 Mon Sep 17 00:00:00 2001
From: aperrin <amandine.perrin@pasteur.fr>
Date: Fri, 8 Dec 2017 15:11:28 +0100
Subject: [PATCH] Install fastme and quicktree in docker image for tests

---
 for_tests/Dockerfile | 23 +++++++++++++++++++----
 1 file changed, 19 insertions(+), 4 deletions(-)

diff --git a/for_tests/Dockerfile b/for_tests/Dockerfile
index 501a2ebc..4382f703 100644
--- a/for_tests/Dockerfile
+++ b/for_tests/Dockerfile
@@ -9,8 +9,7 @@ RUN apt-get update &&\
 # Install package needed and update pip
 RUN apt-get install -y \
         wget \
-        python3-pip \
-        cmake  # to install mmseqs
+        python3-pip
 
 RUN pip3 install --upgrade pip
 
@@ -41,7 +40,8 @@ RUN /tmp/prokka/bin/prokka --setupdb &&\
 
 # Install mmseqs2
 WORKDIR /tmp
-RUN wget https://mmseqs.com/latest/mmseqs-static_sse41.tar.gz &&\
+RUN apt-get install -y cmake &&\
+    wget https://mmseqs.com/latest/mmseqs-static_sse41.tar.gz &&\
     tar xf mmseqs-static_sse41.tar.gz &&\
     rm mmseqs-static_sse41.tar.gz &&\
     mv /tmp/mmseqs2/bin/mmseqs /usr/local/bin &&\
@@ -64,4 +64,19 @@ WORKDIR /tmp
 RUN wget http://www.microbesonline.org/fasttree/FastTree.c &&\
     gcc -DOPENMP -fopenmp -DUSE_DOUBLE -Wall -O3 -finline-functions -funroll-loops -o FastTreeMP FastTree.c -lm &&\
     ln -s /tmp/FastTreeMP /usr/local/bin
-    
+
+# Install FastME
+WORKDIR /tmp
+RUN apt-get install -y automake  &&\
+    git clone https://gite.lirmm.fr/atgc/FastME.git
+WORKDIR /tmp/FastME
+RUN ./configure &&\
+    make &&\
+    make install
+
+# Install quicktree
+WORKDIR /tmp
+RUN git clone https://github.com/tseemann/quicktree
+WORKDIR quicktree
+RUN make &&\
+    ln -s /tmp/quicktree/quicktree /usr/local/bin
-- 
GitLab