Set Gerrit to 3.0.5

Change-Id: Idfd16a079716993144353b03826cbaed00cabbfa
diff --git a/centos/7/Dockerfile b/centos/7/Dockerfile
index 1a464fa..8dbd471 100644
--- a/centos/7/Dockerfile
+++ b/centos/7/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-1.8.0-openjdk && \
-    yum -y install gerrit-3.0.4-1 && \
+    yum -y install gerrit-3.0.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/18/Dockerfile b/ubuntu/18/Dockerfile
index a4f56b6..63232da 100644
--- a/ubuntu/18/Dockerfile
+++ b/ubuntu/18/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-8-jdk
-RUN apt-get -y install gerrit=3.0.4-1 && \
+RUN apt-get -y install gerrit=3.0.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