diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4ec5a6069d79eb25b51f86db7124d97fbb7d96e5..625ae302d230e7f1f83b52b8976fe182d5f07814 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,4 +1,4 @@
-image: rust:1.82
+image: debian:bookworm
 stages:
   - test
 cache: &global_cache
@@ -12,12 +12,13 @@ cache: &global_cache
   policy: pull-push
 
 variables:
-  RUSTUP_INIT_SKIP_PATH_CHECK: yes
   CARGO_HOME: ${CI_PROJECT_DIR}/.cargo
 
 before_script:
   - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable
+  - rustup toolchain install stable
   - rustup toolchain install nightly
+  - rustup update
 
 lint:
   stage: test