Public | Automated Build

Last pushed: a year ago
Short Description
docker image for opengrok
Full Description

opengrok-docker

OpenGrok is a fast and usable source code search and cross reference
engine, written in Java.

It helps you search, cross-reference and navigate source trees. It can understand various program file formats and version control histories.

This docker image support

  • Mercurial
  • Git
  • Bazaar
  • Subversion
  • SCCS
  • RCS
  • CVS
  • Monotone

Usage

$ git clone https://github.com/OpenGrok/OpenGrok.git
$ docker run -t -i --rm \
    --name opengrok \
    -v ${PWD}/OpenGrok:/src \
    -v ${PWD}/OpenGrok-index:/data \
    -p 8080:8080 \
    chihchun/opengrok
$ x-www-browser http://localhost:8080/source/

trigger reindex

$ docker exec opengrok OpenGrok index

If you want opengrok reindex the source tree automatically for new changes,
pelase use -e OPENGROK_REINDEX=true

$ docker run -t -i --rm \
    --name opengrok \
    -e OPENGROK_REINDEX=true \
    -v ${PWD}/OpenGrok:/src \
    -v ${PWD}/OpenGrok-index:/data \
    -p 8080:8080 \
    chihchun/opengrok
Docker Pull Command
Owner
chihchun
Source Repository

Comments (0)