diff --git a/for_tests/Dockerfile b/for_tests/Dockerfile
index 501a2ebca63bc35e5823e2282baf2fe2be75ae77..4382f7039ae12343ab9c98d6d1de14e630d385d6 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