diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b74dab7a9d7ef617e6d4cd04f70710e4ad2e372e..82fa7899b9475ae8ff4fd3aef925e2d1c6805805 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -13,14 +13,16 @@ build_RAServices:
     - PACKAGE=RAServices
     - VARIANT=gnucxx11_opt
     - echo "Building $PACKAGE..."
+    - mkdir install
     - mkdir -p build/$VARIANT
     - cd build/$VARIANT
-    - cmake -DBUILD_PACKAGES=$PACKAGE -DCASACORE_ROOT_DIR=/opt/casacore/ -DCASAREST_ROOT_DIR=/opt/casarest/ ../..
+    - cmake -DBUILD_PACKAGES=$PACKAGE -DCASACORE_ROOT_DIR=/opt/casacore/ -DCASAREST_ROOT_DIR=/opt/casarest/ -DCMAKE_INSTALL_PREFIX=/opt/lofar -DUSE_LOG4CPLUS=false ../..
     - make
+    - make DESTDIR=../../install install
 
   artifacts:
     paths:
-      - build/
+      - install/
 
 # build_CEP:
 #   stage: build