diff --git a/base/km3sim:4.10.05 b/base/km3sim:4.10.05
index 748aab06937577d37529279cee331efe72700ef9..d52ea5f881a2e5b8831fc52318f658b6ef690f74 100644
--- a/base/km3sim:4.10.05
+++ b/base/km3sim:4.10.05
@@ -1,22 +1,24 @@
 # Machine to install OMGsim with Geant4.10.01.p03
-FROM docker.km3net.de/base/centos-full:7
+FROM centos:7.4.1708
  MAINTAINER Vladimir Kulikovskiy <vkulikovskiy@km3net.de>
 
 # Install newer cmake
  RUN yum remove cmake -y
 
+ RUN yum install -y man sed cygpath grep test && yum clean -y all
+ RUN yum install -y csh git subversion tar vim wget lftp zsh && yum clean -y all
+ RUN yum install -y ant bison compat-gcc-34-g77 flex flex-devel gcc gcc-c++ gcc-gfortran gdb glibc-static make pakchois cmake boost-devel rpmdevtools strace && yum clean -y all
+ RUN yum install -y bzip2-devel gzip && yum clean -y all
+ RUN yum install -y fftw-devel libgpg-error libproxy openssh-server openssl-devel && yum clean -y all
+ RUN yum install -y gtk2-devel libX11  libX11-common libX11-devel libXext libXext-devel libXft libXft-devel libXpm libXpm-devel && yum clean -y all
+ RUN yum install -y epel-release && yum clean -y all
+ RUN yum install -y python-devel python-pip && yum clean -y all
+ RUN yum install -y librabbitmq-devel && yum clean -y all
+
  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
     
-# Make Geant4
- RUN yum install -y xerces-c xerces-c-devel libX11-devel libXmu-devel motif motif-devel
- RUN wget http://cern.ch/geant4-data/releases/geant4.10.05.tar.gz && tar xf geant4.10.05.tar.gz && rm geant4.10.05.tar.gz && \
-    mkdir geant4.10.05_build && mkdir /usr/local/geant4.10.05_install && cd geant4.10.05_build && \
-    cmake -DCMAKE_INSTALL_PREFIX=/usr/local/geant4.10.05_install -DGEANT4_USE_GDML=ON -DGEANT4_INSTALL_DATA=ON -DXERCESC_INCLUDE_DIR=/usr/include/xercesc/ -DXERCESC_LIBRARY=/usr/lib64/ ../geant4.10.05 && \
-    make -j4 > make.log && make install > make_install.log && cd .. && rm -rf geant4.10.05_build geant4.10.05
- RUN echo "export G4DIR=/usr/local/geant4.10.05_install" >> /etc/bashrc
-
 #python 3.6 installtion for ROOT
  RUN yum install -y centos-release-scl
  RUN yum install -y rh-python36
@@ -29,7 +31,7 @@ FROM docker.km3net.de/base/centos-full:7
 
 
 # ROOT6
- RUN export ROOT_VERSION=6.18.04 && \
+ RUN export ROOT_VERSION=6.14.06 && \
      source /etc/profile.d/python36.sh && \
      cd /tmp && \
      wget https://root.cern.ch/download/root_v$ROOT_VERSION.source.tar.gz && \
@@ -42,3 +44,12 @@ FROM docker.km3net.de/base/centos-full:7
      mv obj /opt/root-$ROOT_VERSION && \
      rm -rf /tmp/root* && \
      echo "cd /opt/root-$ROOT_VERSION && source bin/thisroot.sh && cd" >> /etc/profile.d/root_env.sh && cd
+
+    
+# Make Geant4
+ RUN yum install -y xerces-c xerces-c-devel libX11-devel libXmu-devel motif motif-devel
+ RUN wget http://cern.ch/geant4-data/releases/geant4.10.05.tar.gz && tar xf geant4.10.05.tar.gz && rm geant4.10.05.tar.gz && \
+    mkdir geant4.10.05_build && mkdir /usr/local/geant4.10.05_install && cd geant4.10.05_build && \
+    cmake -DCMAKE_INSTALL_PREFIX=/usr/local/geant4.10.05_install -DGEANT4_USE_GDML=ON -DGEANT4_INSTALL_DATA=ON -DXERCESC_INCLUDE_DIR=/usr/include/xercesc/ -DXERCESC_LIBRARY=/usr/lib64/ ../geant4.10.05 && \
+    make -j4 > make.log && make install > make_install.log && cd .. && rm -rf geant4.10.05_build geant4.10.05
+ RUN echo "export G4DIR=/usr/local/geant4.10.05_install" >> /etc/bashrc
\ No newline at end of file