blob: 6f1d1f9660946252ea1a03b5b466c2bcdc824a29 [file] [log] [blame]
FROM gerritcodereview/gerrit:3.8.1-almalinux9
USER root
RUN yum install -y gettext
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 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/
ENTRYPOINT [ "/tmp/entrypoint.sh" ]