diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 078ff7ef186787b4adaa8c27c21891baa6c8fc97..2c745ee24643c534b2f8d633b69133b3c7c334e5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,12 +1,12 @@
 default:
-  image: python:3.11-bookworm
+  image: python:3.11
   cache:
     paths:
       - .pip-cache/
   before_script:
     - python3 --version
-    - /usr/local/bin/pip3 install --upgrade pip
-    - /usr/local/bin/pip3 install build twine
+    - pip3 install --upgrade pip
+    - pip3 install build twine
 
 stages:
   - build