diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 28cf5fb8f754fa81b6634de74c022de50c939c25..60a71e69a0ef8c27c13e2f9be1d0e2e8a5b895b6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,9 +3,9 @@ stages:
 
 .run_script:
   stage: run_scripts
-  image: python:3-alpine
+  image: python:3-bookworm
   tags:
-  - amd64 # needed for matplotlib
+  - amd64 # needed for matplotlib & scikit-learn
   variables:
     PIP_ROOT_USER_ACTION: ignore
   before_script: