diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f86292f3438c78d1922477fa08b1bb74ee2668ca..2a8f396f05482057d5a013a8740c9eb3d0ef2f25 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,5 +1,5 @@
 test:
-    image: python:3.8-slim
+    image: python:3.12-slim
     script:
         - python3 -m ebpfcat.ebpf_test -v Tests && python3 -m ebpfcat.ethercat_test -v