diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1394b99e96ec8f9ba2d29688aa1e4599ce45d304..e298cf09579ac6067d6dd5be2caa4311c6960b18 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,6 +1,3 @@
-variables:
-  GIT_SUBMODULE_STRATEGY: recursive
-
 image: gitlab.liu.se:5000/starcraft-ai-course/pycommandcenter  
 
 stages:
@@ -8,6 +5,8 @@ stages:
     - deploy
 
 compile:
+  variables:
+    GIT_SUBMODULE_STRATEGY: recursive
   stage: compile
   script:
     - mkdir build
@@ -21,9 +20,10 @@ compile:
     expire_in: 10 minutes
   only:
     - master
-    - python12_update
 
 pages:
+  variables:
+    GIT_STRATEGY: none
   stage: deploy
   script:
     - cd docs
@@ -37,9 +37,10 @@ pages:
       - public
   only:
     - master
-    - python12_update
 
 pack-linux:
+  variables:
+    GIT_STRATEGY: none
   stage: deploy
   script:
     - cd build/python-api-src
@@ -51,5 +52,4 @@ pack-linux:
       - build/python-api-src/library.cpython-312-x86_64-linux-gnu.so
       - build/python-api-src/library.pyi
   only:
-    - master
-    - python12_update
\ No newline at end of file
+    - master
\ No newline at end of file
diff --git a/docker/Dockerfile b/docker/Dockerfile
index bf0569135365ab387a2c2c72ba2f64a81f8dc543..7844d2cb4afbc122b5a01da45af72ebc25285ac8 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -3,7 +3,7 @@
 FROM ubuntu:24.04
 LABEL org.opencontainers.image.authors="daniel.de.leng@liu.se"
 
-RUN apt update && apt install -y build-essential cmake python3-full python3-pybind11 python3-pip python3-sphinx python3-sphinx-design python3-mypy
+RUN apt update && apt install -y build-essential cmake python3-full python3-pybind11 python3-pip python3-sphinx python3-sphinx-design python3-mypy python3-mypy-extensions
 
 ENV HOME=/root
 WORKDIR /root