Now, it is easy to run OpenGrok if you know Docker. The steps are quietly simple, please checkout the below steps:
Step1 : Install Docker
$ apt-get update -qq $ apt-get install -qqy \ apt-transport-https \ ca-certificates \ curl \ lxc \ iptables $ curl -sSL https://get.docker.com/ | sh $ usermod -a -G docker $USER
$ docker pull tzutalin/opengrokAlternatively, you can check out my Dockerfile on Github, and build the image from scratch.
Step3: Run the OpenGrok using the below commands. Rember to replace <XXXX> with your source directory.
$ docker run -t -d --name=opengrok -v [Absolute path]:/src -p 8080:8080 tzutalin/opengroktzutalin/opengrok container will periodically update the index. So you didn't need to update index by yourself.
No comments:
Post a Comment