blob: 86e21dc8035d3f8d3aaabbfd578373c2b0d29bec [file] [log] [blame]
FROM gerritcodereview/gerrit:3.6.1-ubuntu20
ENV GERRIT_SITE /var/gerrit
COPY artifacts/plugins/ $GERRIT_SITE/plugins/
USER root
COPY artifacts/bin/ /tmp/
RUN { [ -e /tmp/gerrit.war ] && cp /tmp/gerrit.war "$GERRIT_SITE/bin/gerrit.war" ; } || true
COPY start.sh /
USER gerrit
ENTRYPOINT /start.sh