Pin Docker client to v24.0.9 for compatibility Api 1.43

Existing CI/CD builds do rely on the Docker client to the server
communication that is based on Docker Api 1.43.

Keep the v24.0.9 client so that existing builds can continue to succeed
with the existing Docker server.

Also, avoid installing the engine because the CI/CD builds would just
need the client to connect to the remote Docker engine.

Change-Id: Id1bdea245bfc9b65b63336dd8759aa5a49bd01cb
diff --git a/jenkins-docker/agent-bazel-docker/Dockerfile b/jenkins-docker/agent-bazel-docker/Dockerfile
index 3b71232..a530da1 100644
--- a/jenkins-docker/agent-bazel-docker/Dockerfile
+++ b/jenkins-docker/agent-bazel-docker/Dockerfile
@@ -6,7 +6,7 @@
       bookworm \
       stable" && \
     apt-get update --allow-releaseinfo-change && \
-    apt-get install -y docker-ce git-
+    apt-get install -y docker-ce-cli=5:24.0.9-1~debian.12~bookworm git-
 
 # Restore the Git executables after the removal caused by docker-ce
 RUN ln -sf /usr/libexec/git-core/* /usr/bin/