<commit_before>FROM centos:7
MAINTAINER lysu <<EMAIL>>

# OpenSSH is required to run MPI applications
RUN yum update &&  yum install  -y \
    man \
    cmake \
    git \
    clang \
    vim \
    emacs \
    unzip \
    valgrind \
    net-tools \
    doxygen \
    tmux \
    cscope \
    make \
    gcc \
    gdb \
    zsh \
    ctags \
    xdg-utils \
    python-setuptools \
    rubygems \
    fontconfig \
    psmisc \
    tcpdump \
    autoconf \
#    iputils-ping \
#    build-essential \
#    curl \
#    libboost-dev \
#    libboost-filesystem-dev \
#    libboost-program-options-dev \
#    libboost-regex-dev \
#    libboost-system-dev \
#    libboost-thread-dev \
#    libopenmpi-dev \
#    openmpi-bin \
#    openmpi-common  \
#    openssh-client \
#    clang-format \
#    libomp-dev \
#    netcat \
#    global \
#    xfonts-utils  \
#    locales \
#    python-dev \
#    python-pip \
#    ca-certificates \
#    pkg-config \
#    libxml2-dev \
#    libglib2.0-dev \
#    libgsl0-dev \
#    libcurl4-gnutls-dev \
#    ack-grep \
 && yum all

RUN cd /tmp \
 && curl https://www.samba.org/ftp/ccache/ccache-3.2.5.tar.xz | tar xJ \
 && cd ccache-3.2.5 \
 && ./configure \
 && make \
 && make install \
 && cd \
 && rm -r /tmp/ccache-3.2.5

ENV CCACHE_DIR=/ccache

RUN update-alternatives --install /usr/bin/clang   clang   /usr/bin/clang 999 \
 && update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++ 999 \
 && update-alternatives --install /usr/bin/cc  cc  /usr/bin/clang 999 \
 && update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang++ 999

ENV CC="ccache clang" CXX="ccache clang++"

RUN git clone git://github.com/amix/vimrc.git ~/.vim_runtime \
    && sh ~/.vim_runtime/install_awesome_vimrc.sh

RUN git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh \
    && cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc \
    && chsh -s /bin/zsh
<commit_msg>centos2<commit_after>FROM centos:7
MAINTAINER lysu <<EMAIL>>

# OpenSSH is required to run MPI applications
RUN yum update &&  yum install -y epel-release
RUN yum install -y \
    man \
    cmake \
    git \
    clang \
    vim \
    emacs \
    unzip \
    valgrind \
    net-tools \
    doxygen \
    tmux \
    cscope \
    make \
    gcc \
    gcc-c++ \
    openssl-devel \
    gdb \
    zsh \
    ctags \
    xdg-utils \
    python-setuptools \
    rubygems \
    fontconfig \
    psmisc \
    tcpdump \
    autoconf \
    boost-devel \
    openmpi-devel \
    python-devel \
    libxml2-devel \
    glib2-devel \
    gsl-devel \
    curl-devel \
    python-pip \
    ack \
 && yum clean all

RUN cd /tmp \
 && curl https://www.samba.org/ftp/ccache/ccache-3.2.5.tar.xz | tar xJ \
 && cd ccache-3.2.5 \
 && ./configure \
 && make \
 && make install \
 && cd \
 && rm -r /tmp/ccache-3.2.5

ENV CCACHE_DIR=/ccache

RUN update-alternatives --install /usr/bin/clang   clang   /usr/bin/clang 999 \
 && update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++ 999 \
 && update-alternatives --install /usr/bin/cc  cc  /usr/bin/clang 999 \
 && update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang++ 999

ENV CC="ccache clang" CXX="ccache clang++"

RUN git clone git://github.com/amix/vimrc.git ~/.vim_runtime \
    && sh ~/.vim_runtime/install_awesome_vimrc.sh

RUN git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh \
    && cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc \
    && chsh -s /bin/zsh

{'fraction_non_alphanumeric': 0.1537348002316155, 'fraction_numerical': 0.015055008685581933, 'mean_word_length': 1.8672199170124482, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, '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': '1001785', 'n_tokens_mistral': 1443, 'n_tokens_neox': 1370, 'n_words': 267}