Sign inSign up

rigoford/docker-gerrit-ubuntu

By rigoford

•Updated over 9 years ago

Gerrit docker image with additional plugins

Image
0

161

rigoford/docker-gerrit-ubuntu repository overview

⁠docker-gerrit-ubuntu

Gerrit docker image with additional plugins

⁠Usage

Available on Docker Hub⁠:

docker pull rigoford/docker-gerrit-ubuntu:alpha

To create a basic Gerrit instance use:

docker run \
    --detach \
    --name gerrit \
    --publish 8080:8080 \
    --publish 29418:29418 \
    --restart always \
    rigoford/docker-gerrit-ubuntu:alpha

If you're behind a proxy use:

docker run \
    --detach \
    --env JAVA_FLAGS=-Dhttp.proxyHost=<HTTP_HOST> -Dhttp.proxyPort=<HTTP_PORT> -Dhttps.proxyHost=<HTTPS_HOST> -Dhttps.proxyPort=<HTTPS_PORT>" \
    --name gerrit \
    --publish 8080:8080 \
    --publish 29418:29418 \
    --restart always \
    rigoford/docker-gerrit-ubuntu:alpha

If you want to create a Gerrit instance with custom configuration use:

docker run \
    --detach \
    --name gerrit \
    --publish 8080:8080 \
    --publish 29418:29418 \
    --restart always \
    --volume `pwd`/config/:/tmp/gerrit/:ro \
    rigoford/docker-gerrit-ubuntu:alpha

Any gerrit.config, reviewers.config or secure.config files located in `pwd`/config will be copied into the $GERRIT_SITE/etc directory before initialising Gerrit.

Tag summary

Content type

Image

Digest

Size

346.9 MB

Last updated

over 9 years ago

docker pull rigoford/docker-gerrit-ubuntu:alpha