diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0e666c6b437314393120383823541689e74dd25a..2febf14220a3dfc2ab8b65bb735bcc5be55fb725 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -59,8 +59,13 @@ unittest_py3.8:
   stage: test
   needs: [ ]
   image: python:3.8
-  script:
+  script: &python_test_script
     - touch ~/.pycaosdb.ini
+    - cd unittests/docker
+    - cp sources.list.local /etc/apt/
+    - mv /etc/apt/sources.list /etc/apt/sources.list.orig
+    - cat /etc/apt/sources.list.local /etc/apt/sources.list.orig > /etc/apt/sources.list
+    - apt-get update && apt-get install -y tox
     - make unittest
 
 # Trigger building of server image and integration tests