Dont copy pull-replication.jar into lib folder in Dockerfile After this fix I5fefcfd0 there is no need to copy pull-replication.jar into the lib folder in the Dockerfiles under example-setup folder. Change-Id: Ie03bfacd2e455fe753f18c13b6be58044d4f71f9
diff --git a/example-setup/broker/Dockerfile b/example-setup/broker/Dockerfile index 646967e..be54f88 100644 --- a/example-setup/broker/Dockerfile +++ b/example-setup/broker/Dockerfile
@@ -7,7 +7,6 @@ RUN git config -f /var/gerrit/etc/secure.config --add auth.bearerToken "theSecretBearerToken" COPY --chown=gerrit:gerrit pull-replication.jar /var/gerrit/plugins/pull-replication.jar -COPY --chown=gerrit:gerrit pull-replication.jar /var/gerrit/lib/pull-replication.jar # The message-broker notification needs to be the last in the notification chain # hence rename it with a 'z-' prefix because the Gerrit plugin loader starts the
diff --git a/example-setup/http/Dockerfile b/example-setup/http/Dockerfile index 34fd874..77cfba0 100644 --- a/example-setup/http/Dockerfile +++ b/example-setup/http/Dockerfile
@@ -7,7 +7,6 @@ RUN git config -f /var/gerrit/etc/secure.config --add auth.bearerToken "theSecretBearerToken" COPY --chown=gerrit:gerrit pull-replication.jar /var/gerrit/plugins/pull-replication.jar -COPY --chown=gerrit:gerrit pull-replication.jar /var/gerrit/lib/pull-replication.jar COPY --chown=gerrit:gerrit entrypoint.sh /tmp/ COPY --chown=gerrit:gerrit configs/replication.config.template /var/gerrit/etc/ COPY --chown=gerrit:gerrit configs/gerrit.config.template /var/gerrit/etc/