diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2c558e6d735a00f5132aa3d134d7f1a84515aba7..2caa9d0bd1eca6094609b41bd991a3acb4c64e75 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,18 +1,19 @@
 
 # add 'node_modules' to cache for speeding up builds
+image: node:10
+
 cache:
   paths:
     - node_modules/ # Node modules and dependencies
 
 default:
-  image: node:10
   before_script:
     - npm install gitbook-cli -g # install gitbook
+    - npm install pip
     - gitbook fetch 3.2.3 # fetch final stable version
     - gitbook install # add any requested plugins in book.json
 
 test:
-  image: node:10
   stage: test
   script:
     - gitbook build . public # build to public path
@@ -23,7 +24,6 @@ test:
     
 build:
   stage: build
-  image: docker.km3net.de/base/texlive:2018
   script:
     - pip install pyyaml
     - python make_documents.py
@@ -37,7 +37,6 @@ build:
 
 # the 'pages' job will deploy and build your site to the 'public' path
 pages:
-  image: node:10
   stage: deploy
   script:
     - gitbook build . public # build to public path