diff --git a/SubSystems/RAServices/Dockerfile b/SubSystems/RAServices/Dockerfile
index 215c937b98629c983a8519e19eb41bf560f92104..f55defa6da0da869ad46335fe87ba817baebefbb 100644
--- a/SubSystems/RAServices/Dockerfile
+++ b/SubSystems/RAServices/Dockerfile
@@ -1,12 +1,7 @@
 FROM centos:centos7.2.1511 AS builder
 RUN yum install -y epel-release
-RUN yum install -y cmake gcc-c++ make log4cplus log4cplus-devel python3 python3-libs python3-devel boost readline-devel boost-devel python36-django binutils-devel boost-python36 postgresql-devel boost-python36-devel
-RUN pip3 install kombu lxml requests pygcn xmljson mysql-connector-python python-dateutil djangorestframework djangorestframework-xml ldap==1.0.2 flask fabric
-# ADD ./ /src
-# WORKDIR /src
-# RUN mkdir -p build/gnucxx11_opt
-# WORKDIR build/gnucxx11_opt
-
-# RUN cmake -DBUILD_PACKAGES="RAServices" ../..
-# RUN make -j
-
+RUN yum install -y cmake gcc-c++ make log4cplus log4cplus-devel python3 python3-libs python3-devel boost readline-devel boost-devel python36-django binutils-devel boost-python36 postgresql-devel boost-python36-devel gettext postgresql-server which
+RUN pip3 install cython
+RUN pip3 install kombu lxml requests pygcn xmljson mysql-connector-python python-dateutil djangorestframework djangorestframework-xml ldap==1.0.2 flask fabric coverage proton PyGreSQL numpy h5py psycopg2 testing.postgresql Flask-Testing scipy
+RUN adduser lofarsys
+USER lofarsys