Set Gerrit to 2.16.7

Change-Id: Ic7add9de7bac66468c8089920c025add767f83d8
diff --git a/centos/7/Dockerfile b/centos/7/Dockerfile
index 5e9f05e..3a1ba34 100644
--- a/centos/7/Dockerfile
+++ b/centos/7/Dockerfile
@@ -8,7 +8,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-2.16.6-1  && rm -Rf /var/gerrit/{logs,tmp}/* && rm -Rf /var/gerrit/.gerritcodereview && \
+    yum -y install gerrit-2.16.7-1  && rm -Rf /var/gerrit/{logs,tmp}/* && rm -Rf /var/gerrit/.gerritcodereview && \
     yum -y clean all
 
 USER gerrit
diff --git a/ubuntu/16/Dockerfile b/ubuntu/16/Dockerfile
index 56c7805..6ba2b23 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.16.6-1 && rm -f /var/gerrit/logs/*
+RUN apt-get -y install gerrit=2.16.7-1 && rm -f /var/gerrit/logs/*
 
 USER gerrit
 RUN java -jar /var/gerrit/bin/gerrit.war init --batch --install-all-plugins -d /var/gerrit