Sign inSign up

qinning/gitlab-ce

By qinning

•Updated over 8 years ago

Image
0

68

qinning/gitlab-ce repository overview

FROM gitlab/gitlab-ce:10.6.2-ce.0

LABEL MAINTAINER="qinning [email protected]⁠"

ENV TMPDIR=/tmp/gitlab-zh

ENV GITLAB_VERSION=v10.6.2

⁠clone && apply zh patch.

RUN git clone --progress --verbose https://gitlab.com/xhang/gitlab.git⁠ $TMPDIR &&
cd $TMPDIR &&
git diff $GITLAB_VERSION..$GITLAB_VERSION-zh > $TMPDIR/$GITLAB_VERSION-zh.diff &&
cd /opt/gitlab/embedded/service/gitlab-rails && git apply $TMPDIR/$GITLAB_VERSION-zh.diff &&
rm -rf $TMPDIR

⁠Expose web & ssh

EXPOSE 443 80 22

RUN mkdir -p /usr/local/gitlab/{bin,run}

ADD start /usr/local/gitlab/bin/

⁠Define data volumes

VOLUME ["/etc/gitlab", "/var/opt/gitlab", "/var/log/gitlab", "/usr/local/gitlab/bin"]

RUN chmod +x /usr/local/gitlab/bin/start

⁠Wrapper to handle signal, trigger runit and reconfigure GitLab

CMD ["/usr/local/gitlab/bin/start"]

Tag summary

Content type

Image

Digest

Size

469.7 MB

Last updated

over 8 years ago

docker pull qinning/gitlab-ce:10.6.2