<commit_before>FROM gitlab/gitlab-ce:8.7.6-ce.0

MAINTAINER beginor <<EMAIL>>

ENV TMPDIR=/tmp/gitlab-zh
ENV GITLAB_BRUNCH=8-7

# clone && apply zh patch.
RUN git clone https://gitlab.com/larryli/gitlab.git $TMPDIR && \
    cd $TMPDIR && \
    git diff origin/$GITLAB_BRUNCH-stable..$GITLAB_BRUNCH-zh > $TMPDIR/$GITLAB_BRUNCH-zh.diff && \
    cd /opt/gitlab/embedded/service/gitlab-rails && git apply $TMPDIR/$GITLAB_BRUNCH-zh.diff &&\
    rm -rf $TMPDIR

# Expose web & ssh
EXPOSE 443 80 22

# Define data volumes
VOLUME ["/etc/gitlab", "/var/opt/gitlab", "/var/log/gitlab"]
# Wrapper to handle signal, trigger runit and reconfigure GitLab
CMD ["/assets/wrapper"]<commit_msg>fix brunch<commit_after>FROM gitlab/gitlab-ce:8.7.6-ce.0

MAINTAINER beginor <<EMAIL>>

ENV TMPDIR=/tmp/gitlab-zh
ENV GITLAB_BRUNCH=8-7

# clone && apply zh patch.
RUN git clone https://gitlab.com/larryli/gitlab.git -b $GITLAB_BRUNCH-zh $TMPDIR && \
    cd $TMPDIR && \
    git diff origin/$GITLAB_BRUNCH-stable..$GITLAB_BRUNCH-zh > $TMPDIR/$GITLAB_BRUNCH-zh.diff && \
    cd /opt/gitlab/embedded/service/gitlab-rails && git apply $TMPDIR/$GITLAB_BRUNCH-zh.diff &&\
    rm -rf $TMPDIR

# Expose web & ssh
EXPOSE 443 80 22

# Define data volumes
VOLUME ["/etc/gitlab", "/var/opt/gitlab", "/var/log/gitlab"]
# Wrapper to handle signal, trigger runit and reconfigure GitLab
CMD ["/assets/wrapper"]
{'fraction_non_alphanumeric': 0.1510948905109489, 'fraction_numerical': 0.01897810218978102, 'mean_word_length': 3.7604166666666665, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '39623', 'n_tokens_mistral': 571, 'n_tokens_neox': 554, 'n_words': 116}