Set Gerrit to 3.11.5

Change-Id: I07506eb435a7e07ab42119f15cb887149ce5aa4b
diff --git a/almalinux/9/Dockerfile b/almalinux/9/Dockerfile
index 659aee8..2236bb6 100644
--- a/almalinux/9/Dockerfile
+++ b/almalinux/9/Dockerfile
@@ -12,7 +12,7 @@
 RUN yum -y install initscripts && \
     yum -y install java-21-openjdk
 
-RUN yum -y install gerrit-3.11.4-1 && \
+RUN yum -y install gerrit-3.11.5-1 && \
     /entrypoint.sh init && \
     rm -f /var/gerrit/etc/{ssh,secure}* && rm -Rf /var/gerrit/{static,index,logs,data,index,cache,git,db,tmp}/* && chown -R gerrit:gerrit /var/gerrit && \
     yum -y clean all
diff --git a/ubuntu/24/Dockerfile b/ubuntu/24/Dockerfile
index 9dff9b5..7f5899c 100644
--- a/ubuntu/24/Dockerfile
+++ b/ubuntu/24/Dockerfile
@@ -18,7 +18,7 @@
 # hence it is the only extra step that had to be added
 RUN update-alternatives --install /usr/bin/java java $(which java) 2222 && \
     apt-get -y upgrade && \
-    apt-get -y install gerrit=3.11.4-1 && \
+    apt-get -y install gerrit=3.11.5-1 && \
     apt-mark hold gerrit && \
     /entrypoint.sh init && \
     bash -c 'rm -f /var/gerrit/etc/{ssh,secure}* && rm -Rf /var/gerrit/{static,index,logs,data,index,cache,git,db,tmp}/*' && \