Set Gerrit to 2.14.18

Change-Id: I942d85b4b129341a2efc350d3ae42bd235b47125
diff --git a/centos/7/Dockerfile b/centos/7/Dockerfile
index 10e7d3b..7658e67 100644
--- a/centos/7/Dockerfile
+++ b/centos/7/Dockerfile
@@ -9,7 +9,7 @@
 # Install OpenJDK and Gerrit in two subsequent transactions
 # (pre-trans Gerrit script needs to have access to the Java command)
 RUN yum -y install java-1.8.0-openjdk
-RUN yum -y install gerrit-2.14.17
+RUN yum -y install gerrit-2.14.18
 
 USER gerrit
 RUN java -jar /var/gerrit/bin/gerrit.war init --batch --install-all-plugins -d /var/gerrit
diff --git a/ubuntu/16/Dockerfile b/ubuntu/16/Dockerfile
index 6af4d44..29d5ab3 100644
--- a/ubuntu/16/Dockerfile
+++ b/ubuntu/16/Dockerfile
@@ -12,7 +12,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=2.14.17-1 && rm -f /var/gerrit/logs/*
+RUN apt-get -y install gerrit=2.14.18-1 && rm -f /var/gerrit/logs/*
 
 USER gerrit
 RUN java -jar /var/gerrit/bin/gerrit.war init --batch --install-all-plugins -d /var/gerrit