diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4e17351e2616444ce831c94e81dec017ba9a2a0f..f4617e7d9a653f582742571a275030dfee67c084 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,12 +1,12 @@
 default:
-  image: python:3.11
+  image: python:3.11-bookworm
   cache:
     paths:
       - .pip-cache/
   before_script:
     - python3 --version
-    - python3 -m pip install --upgrade pip
-    - python3 -m pip install build twine
+    - pip3 install --upgrade pip
+    - pip3 install build twine
 
 stages:
   - build