diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ef54f6fb657e09b3e943303806cb0e0ece92d93b..0750478c79fd382c288ed8a40fccefceb6f6fdb9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -433,13 +433,7 @@ replay_with_keyauths:
   variables:
     PG_ACCESS: "host    all              all        127.0.0.1/32    trust"
   script:
-    - |
-      set -e
-
-      sudo apt-get update
-      sudo apt-get install -y python3 python3-pip
-
-      /home/haf_admin/docker_entrypoint.sh --execute-maintenance-script=$CI_PROJECT_DIR/tests/integration/state_provider/run_replay_with_keyauth.sh
+    - /home/haf_admin/docker_entrypoint.sh --execute-maintenance-script=$CI_PROJECT_DIR/tests/integration/state_provider/run_replay_with_keyauth.sh
   artifacts:
     paths:
       - "replay_with_keyauths.log"