Set Gerrit to 3.8.0-rc1

Change-Id: Iee8a12194ba72962d0af902d7b7856d6da828f2b
diff --git a/almalinux/9/Dockerfile b/almalinux/9/Dockerfile
index 53bbafc..3aa0f23 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-11-openjdk && \
-    yum -y install gerrit-3.8.0-0rc0 && \
+    yum -y install gerrit-3.8.0-0rc1 && \
     /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 7605b44..18fe830 100644
--- a/ubuntu/22/Dockerfile
+++ b/ubuntu/22/Dockerfile
@@ -16,7 +16,7 @@
 # Install OpenJDK and Gerrit in two subsequent transactions
 # (pre-trans Gerrit script needs to have access to the Java command)
 RUN apt-get -y install openjdk-11-jdk
-RUN apt-get -y install gerrit=3.8.0-0rc0 && \
+RUN apt-get -y install gerrit=3.8.0-0rc1 && \
     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}/*' && \