<commit_before>FROM ubuntu
MAINTAINER <NAME> "<EMAIL>"



# Refresh the package list
RUN export version=$(cat /etc/lsb-release | grep DISTRIB_CODENAME=precise | cut -d '=' -f2) && \
    echo deb http://archive.ubuntu.com/ubuntu $version universe >> /etc/apt/sources.list && \
    echo deb http://archive.canonical.com/ $version partner >> /etc/apt/sources.list && \
    apt-get update

#                To download SCM                                      For  Mercurial Plugin
#    Install            |                          Mercurial SVN                |
#       |               |                               |                       |
RUN apt-get install -y wget openjdk-7-jre-headless mercurial git subversion python2.7
#                                     |                       |       |
#                                To run SCM                  GIT     SVN


# Install the program in one big step
RUN  mkdir /usr/share/scm-manager && \
     cd /usr/share/scm-manager && \
     wget https://repository-scm-manager.forge.cloudbees.com/snapshot/sonia/scm/scm-server/1.36-SNAPSHOT/scm-server-1.36-20131230.140542-1-app.tar.gz && \
     tar -xzf $(ls | grep ".gz")

# Note I suggest to use /CoreRepository as the location where the repository files can be kept
# as then you can use -b /home/repos:/CoreRepository to bind the two filesystems together
#                            |             |
#                            |         SCM server
#                       On your computer

# It is then easy to progress and import your own repositories following the scm layout of
# REPO/hg    <- storage of mercurial repositories
#      git   <- storage of git repositories
#      svn   <- storage of subversion repositories

EXPOSE 8080
CMD ["/usr/share/scm-manager", "./scm-server/bin/scm-server"]<commit_msg>Now reduces size by about 20 MB by removing tarbell after install<commit_after>FROM ubuntu
MAINTAINER <NAME> "<EMAIL>"



# Refresh the package list
RUN export version=$(cat /etc/lsb-release | grep DISTRIB_CODENAME=precise | cut -d '=' -f2) && \
    echo deb http://archive.ubuntu.com/ubuntu $version universe >> /etc/apt/sources.list && \
    echo deb http://archive.canonical.com/ $version partner >> /etc/apt/sources.list && \
    apt-get update

#                To download SCM                                      For  Mercurial Plugin
#    Install            |                          Mercurial SVN                |
#       |               |                               |                       |
RUN apt-get install -y wget openjdk-7-jre-headless mercurial git subversion python2.7
#                                     |                       |       |
#                                To run SCM                  GIT     SVN


# Install the program in one big step
RUN  mkdir /usr/share/scm-manager && \
     cd /usr/share/scm-manager && \
     wget https://repository-scm-manager.forge.cloudbees.com/snapshot/sonia/scm/scm-server/1.36-SNAPSHOT/scm-server-1.36-20131230.140542-1-app.tar.gz && \
     tar -xzf $(ls | grep ".gz") && \
     rm $(ls | grep ".gz")

# Note I suggest to use /CoreRepository as the location where the repository files can be kept
# as then you can use -b /home/repos:/CoreRepository to bind the two filesystems together
#                            |             |
#                            |         SCM server
#                       On your computer

# It is then easy to progress and import your own repositories following the scm layout of
# REPO/hg    <- storage of mercurial repositories
#      git   <- storage of git repositories
#      svn   <- storage of subversion repositories

EXPOSE 8080
CMD ["/usr/share/scm-manager", "./scm-server/bin/scm-server"]
{'fraction_non_alphanumeric': 0.0966183574879227, 'fraction_numerical': 0.01610305958132045, 'mean_word_length': 1.5148448043184886, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 15, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 26, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5159552', 'n_tokens_mistral': 1130, 'n_tokens_neox': 1018, 'n_words': 304}