[Announce] Gerrit native Docker images available for Ver. 2.10.3.1 and 2.11

115 views
Skip to first unread message

lucamilanesio

unread,
Apr 29, 2015, 7:35:22 PM4/29/15
to repo-d...@googlegroups.com
The official Docker images for Gerrit 2.10.3.1 and 2.11 have been published to:

From now on all the Gerrit releases will be pushed to DockerHub and tagged accordingly.

For more information on how to pull and run Gerrit on Docker see:

... no more tears with Gerrit set-ups, thanks Docker :-)

Feedback and suggestions are more than welcome.

Luca.

Dave Borowitz

unread,
Apr 29, 2015, 10:38:08 PM4/29/15
to lucamilanesio, repo-discuss
This is really great, thanks Luca. Love the lower barrier to entry for new Gerrit administrators.

--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Vacelet, Manuel

unread,
Apr 30, 2015, 2:53:33 AM4/30/15
to lucamilanesio, repo-d...@googlegroups.com
Hi Luca,

That's great to have something that can become an official image.

However, I think it's missing two importants part if you want to run production: management of data & DB
With your current dockerfile, data are stored on layered FS (aufs, device mapper, etc) and this will be terrible for performances quickly.
You can have a look at what we did for Tuleap/Gerrit integration docker image to solve that:

The second is the DB. It would be rather easy to get rid of H2 and plug with an official postrgrey/mysql image.

Manuel


--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Manuel VACELET
Enalean Co-founder & Chief Technical Officer
Twitter @vaceletm

lucamilanesio

unread,
Apr 30, 2015, 3:09:23 AM4/30/15
to repo-d...@googlegroups.com, luca.mi...@gmail.com
Hi Manuel,
good to know that you are willing to provide your contributions to the gerrit-installer project :-)

The overall idea of Docker images is to:

a) Provide a "common ground" to all derived Dockerfiles created and contributed to the community
b) Give a "plug&play" configuration (exactly the same used in the native packages) to be used as bootstrap test
c) Allow derived Docker images with production-ready DB and FS configurations (yours for instance)

Can you submit your Dockerfile to the gerrit-installer project for review?

Thank you for your contribution and input :-)

Luca.

Luca Milanesio

unread,
Apr 30, 2015, 3:22:32 AM4/30/15
to repo-d...@googlegroups.com, Manuel Vacelet
Hi Manuel,
I’ve looked at https://github.com/Enalean/docker-gerrit-tuleap/tree/tuleap and seems a good start :-)

Can you rework the Dockerfile and make it more generic in order to get submitted to the gerrit-installer project?
(see an example on http://gitenterprise.me/2015/04/30/no-more-tears-with-gerrit-code-review-thanks-to-docker/)

Something like:

FROM gerritforge/gerrit-centos7
MAINTAINER Enalean

USER gerrit

ENV GERRIT_HOME /var/gerrit
ENV GERRIT_USER gerrit
ENV GERRIT_WAR /var/gerrit/bin/gerrit.war

# clobber the gerrit config. set the URL to localhost:8080
ADD gerrit.config $GERRIT_HOME/etc/gerrit.config
ADD replication.config $GERRIT_HOME/etc/replication.config

RUN unzip -j $GERRIT_WAR WEB-INF/plugins/replication.jar -d $GERRIT_HOME/gerrit/plugins

ADD run.sh /run.sh

VOLUME /data

EXPOSE 8080 29418
ENTRYPOINT [ "./run.sh" ]


In this way your Dockerfile is valid for all future version of Gerrit getting released, as the gerritforge/gerrit-centos7:latest points to the latest released version of Gerrit.

Luca.
Reply all
Reply to author
Forward
0 new messages