xaizek / rocketgit (License: AGPLv3+) (since 2018-12-09)
Light and fast Git hosting solution suitable to serve both as a hub or as a personal code storage with its tickets, pull requests, API and much more.
<root> / docker / Dockerfile-rocketgit.tmpl (fcedac7a3f3e4814fb7f3e5cfa85bd8d796f4e94) (871B) (mode 100644) [raw]
FROM fedora:23
MAINTAINER Catalin(ux) M. BOIE <catab-docker@embedromix.ro>

VOLUME /var/lib/rocketgit
VOLUME /home/rocketgit

EXPOSE 80
EXPOSE 443
EXPOSE 22
EXPOSE 9418

COPY rg.sh /

CMD ["/rg.sh"]

RUN dnf -y upgrade --best --allowerasing; echo @@VER@@
RUN dnf -y install http://kernel.embedromix.ro/dinorepo-0.0.10-1.noarch.rpm
RUN dnf -y install psmisc procps-ng sendmail php-opcache qrencode
RUN dnf -y --disablerepo=* --enablerepo dinorepo clean all
RUN dnf -y install rocketgit-@@VER@@

RUN sed -i -e 's|;opcache.enable_cli=.*|opcache.enable_cli=1|' /etc/php.d/10-opcache.ini
RUN sed -i -e 's|;opcache.enable_cli=.*|opcache.enable_cli=1|' /etc/php-zts.d/10-opcache.ini
RUN grep -q ^rocketgit ${dir}/etc/mail/trusted-users || echo "rocketgit" >> /etc/mail/trusted-users
RUN grep -q ^apache ${dir}/etc/mail/trusted-users || echo "apache" >> /etc/mail/trusted-users

Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/rocketgit

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/rocketgit

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master