Set Gerrit to  v2.14.5.1

Change-Id: Iff889fcef737b83fe891e3993b3ff0315a359ee1
diff --git a/centos/7/Dockerfile b/centos/7/Dockerfile
index c3bd0a2..218e1b2 100644
--- a/centos/7/Dockerfile
+++ b/centos/7/Dockerfile
@@ -10,7 +10,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.4-1
+RUN yum -y install gerrit-2.14.5.1-1
 
 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 02a2ecf..9dbda9f 100644
--- a/ubuntu/16/Dockerfile
+++ b/ubuntu/16/Dockerfile
@@ -13,7 +13,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.4-1 && rm -f /var/gerrit/logs/*
+RUN apt-get -y install gerrit=2.14.5.1-1 && rm -f /var/gerrit/logs/*
 
 USER gerrit
 RUN java -jar /var/gerrit/bin/gerrit.war init --batch --install-all-plugins -d /var/gerrit