diff --git a/for_tests/Dockerfile b/for_tests/Dockerfile
index 8af60a26fef829dfae26fdc39b70015790b7e3e9..04fe4e0f3cc8d94580070053b50910eaf7d91c57 100644
--- a/for_tests/Dockerfile
+++ b/for_tests/Dockerfile
@@ -18,7 +18,7 @@ WORKDIR /tmp
 RUN wget https://github.com/tseemann/barrnap/archive/0.8.tar.gz &&\
     tar -xf 0.8.tar.gz &&\
     rm 0.8.tar.gz
-RUN ln -s /tmp/barrnap-0.8/bin/barrnap /usr/local/bin
+RUN mv /tmp/barrnap-0.8/bin/barrnap /usr/local/bin
 # Remove heavy useless files
 RUN rm -r /tmp/barrnap-0.8/examples /tmp/barrnap-0.8/build/*.aln
 
@@ -33,14 +33,16 @@ RUN apt-get install -y\
         bioperl
 RUN git clone https://github.com/tseemann/prokka.git
 RUN /tmp/prokka/bin/prokka --setupdb
-RUN ln -s /tmp/prokka/bin/prokka /usr/local/bin
+RUN mv /tmp/prokka/bin/prokka /usr/local/bin
+RUN rm -r /tmp/prokka
+
 
 # Install mmseqs2
 WORKDIR /tmp
-RUN git clone https://github.com/soedinglab/MMseqs2.git
-WORKDIR /tmp/MMseqs2
-RUN mkdir build
-WORKDIR /tmp/MMseqs2/build
-RUN cmake -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_INSTALL_PREFIX=. ..
-RUN make && make install 
-RUN ln -s /tmp/MMseqs2/build/bin/mmseqs /usr/local/bin
+RUN wget https://mmseqs.com/latest/mmseqs-static_sse41.tar.gz &&\
+    tar xf mmseqs-static_sse41.tar.gz &&\
+    rm mmseqs-static_sse41.tar.gz
+RUN mv /tmp/mmseqs2/bin/mmseqs /usr/local/bin
+# remove useless files
+RUN rm -r /tmp/mmseqs2
+