blob: 45a23d2311673fc0f40dde64dd8da531ad8f2e88 [file] [log] [blame]
Matthias Andreas Benkardd3823592023-09-27 18:15:17 +02001FROM gerritcodereview/gerrit:3.8.2
Matthias Andreas Benkard68034de2021-09-05 11:25:35 +02002
3USER root
4
Matthias Andreas Benkardd3823592023-09-27 18:15:17 +02005ADD https://gerrit-ci.gerritforge.com/job/plugin-oauth-bazel-master-stable-3.8/lastSuccessfulBuild/artifact/bazel-bin/plugins/oauth/oauth.jar /var/gerrit/plugins/gerrit-oauth-provider.jar
6ADD https://gerrit-ci.gerritforge.com/job/plugin-serviceuser-bazel-master-stable-3.8/lastSuccessfulBuild/artifact/bazel-bin/plugins/serviceuser/serviceuser.jar /var/gerrit/plugins/serviceuser.jar
7ADD https://gerrit-ci.gerritforge.com/job/plugin-lfs-bazel-master-stable-3.8/lastSuccessfulBuild/artifact/bazel-bin/plugins/lfs/lfs.jar /var/gerrit/plugins/lfs.jar
8ADD https://gerrit-ci.gerritforge.com/job/plugin-ref-protection-bazel-master-stable-3.8/lastSuccessfulBuild/artifact/bazel-bin/plugins/ref-protection/ref-protection.jar /var/gerrit/plugins/ref-protection.jar
Matthias Andreas Benkardafbaf692023-03-12 13:14:09 +01009ADD https://gerrit-ci.gerritforge.com/job/plugin-rename-project-bazel-master-stable-3.6/lastSuccessfulBuild/artifact/bazel-bin/plugins/rename-project/rename-project.jar /var/gerrit/plugins/rename-project.jar
Matthias Andreas Benkardd3823592023-09-27 18:15:17 +020010ADD https://gerrit-ci.gerritforge.com/job/plugin-admin-console-bazel-master-stable-3.8/lastSuccessfulBuild/artifact/bazel-bin/plugins/admin-console/admin-console.jar /var/gerrit/plugins/admin-console.jar
11ADD https://gerrit-ci.gerritforge.com/job/plugin-github-mvn-stable-3.8/lastSuccessfulBuild/artifact/github-plugin/target/github-plugin-3.8.0.jar /var/gerrit/plugins/github.jar
12ADD https://gerrit-ci.gerritforge.com/job/plugin-github-mvn-stable-3.8/lastSuccessfulBuild/artifact/github-oauth/target/github-oauth-3.8.0.jar /var/gerrit/lib/github-oauth.jar
Matthias Andreas Benkard68034de2021-09-05 11:25:35 +020013
14RUN chown gerrit /var/gerrit/plugins/* /var/gerrit/lib/*
15
16USER gerrit
17CMD /var/gerrit/bin/gerrit.sh run