diff --git a/base/km3sim:4.10.05 b/base/km3sim:4.10.05
index 44f983848f2b5c440cfb8f60157625b3ec90fd27..d52ea5f881a2e5b8831fc52318f658b6ef690f74 100644
--- a/base/km3sim:4.10.05
+++ b/base/km3sim:4.10.05
@@ -15,10 +15,9 @@ FROM centos:7.4.1708
  RUN yum install -y python-devel python-pip && yum clean -y all
  RUN yum install -y librabbitmq-devel && yum clean -y all
 
- RUN wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
- RUN rpm -ivh epel-release-latest-7.noarch.rpm
- RUN yum install -y cmake3
- RUN rm -rf epel-release-latest-7.noarch.rpm
+ RUN wget https://cmake.org/files/v3.6/cmake-3.6.2.tar.gz && \
+    tar xzf cmake-3.6.2.tar.gz && rm cmake-3.6.2.tar.gz && cd cmake-3.6.2 && \
+    ./bootstrap --prefix=/usr/local > bootstrap.log && make > make.log && make install > make_install.log
     
 #python 3.6 installtion for ROOT
  RUN yum install -y centos-release-scl