Set Gerrit to 3.10.0-rc7

Change-Id: I12c0341089cd7fea4030d56a1d95d439da35996a
diff --git a/almalinux/9/Dockerfile b/almalinux/9/Dockerfile
index 34cde61..547a932 100644
--- a/almalinux/9/Dockerfile
+++ b/almalinux/9/Dockerfile
@@ -10,7 +10,7 @@
 # (pre-trans Gerrit script needs to have access to the Java command)
 RUN yum -y install initscripts && \
     yum -y install java-17-openjdk && \
-    yum -y install gerrit-3.10.0-0rc6 && \
+    yum -y install gerrit-3.10.0-0rc7 && \
     /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/22/Dockerfile b/ubuntu/22/Dockerfile
index f304c37..010538f 100644
--- a/ubuntu/22/Dockerfile
+++ b/ubuntu/22/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.10.0-0rc6 && \
+    apt-get -y install gerrit=3.10.0-0rc7 && \
     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}/*' && \