<commit_before>FROM centos:centos6.6

MAINTAINER FIWARE Orion Context Broker Team. Telefónica I+D

ENV ORION_USER orion
ENV GIT_REV_ORION_PROXYCOAP 749e22376664dd3adae17492090e58882d3b28a7
ENV GIT_REV_ORION develop
ENV CLEAN_DEV_TOOLS 1

RUN adduser --comment "${ORION_USER}" ${ORION_USER}

WORKDIR /opt

RUN \
    # Install dependencies
    yum -y install \
      boost-devel \
      bzip2 \
      cmake \
      clang \
      CUnit-devel && \
      epel-release \
      libcurl-devel \
      libmicrohttpd-devel \
      make \
      nc \
      git \
      gcc-c++ \
      scons \
      tar \
      which \
    # Install mongodb driver from source
    curl -kOL https://github.com/mongodb/mongo-cxx-driver/archive/legacy-1.0.2.tar.gz && \
    tar xfz legacy-1.0.2.tar.gz && \
    cd mongo-cxx-driver-legacy-1.0.2 && \
    scons install --prefix=/usr/local && \
    cd /opt && \
    # Install rapidjson from source
    curl -kOL https://github.com/miloyip/rapidjson/archive/v1.0.2.tar.gz && \
    tar xfz v1.0.2.tar.gz && \
    mv rapidjson-1.0.2/include/rapidjson/ /usr/local/include && \
    # Install Google Test/Mock from source
    curl -kOL http://googlemock.googlecode.com/files/gmock-1.5.0.tar.bz2 && \
    tar xfj gmock-1.5.0.tar.bz2 && \
    cd gmock-1.5.0 && \
    ./configure && \
    make && \
    make install && \
    ldconfig && \
    cd /opt && \
    # Install proxyCoap
    git clone https://github.com/staropram/cantcoap && \
    cd cantcoap && \
    git checkout ${GIT_REV_ORION_PROXYCOAP} && \
    make && \<commit_msg>A bug was squashed<commit_after>FROM centos:centos6.6

MAINTAINER FIWARE Orion Context Broker Team. Telefónica I+D

ENV ORION_USER orion
ENV GIT_REV_ORION_PROXYCOAP 749e22376664dd3adae17492090e58882d3b28a7
ENV GIT_REV_ORION develop
ENV CLEAN_DEV_TOOLS 1

RUN adduser --comment "${ORION_USER}" ${ORION_USER}

WORKDIR /opt

RUN \
    # Install dependencies
    yum -y install epel-release && \
    yum -y install \
      boost-devel \
      bzip2 \
      cmake \
      clang \
      CUnit-devel \
      epel-release \
      libcurl-devel \
      libmicrohttpd-devel \
      make \
      nc \
      git \
      gcc-c++ \
      scons \
      tar \
      which && \
    # Install mongodb driver from source
    curl -kOL https://github.com/mongodb/mongo-cxx-driver/archive/legacy-1.0.2.tar.gz && \
    tar xfz legacy-1.0.2.tar.gz && \
    cd mongo-cxx-driver-legacy-1.0.2 && \
    scons install --prefix=/usr/local && \
    cd /opt && \
    # Install rapidjson from source
    curl -kOL https://github.com/miloyip/rapidjson/archive/v1.0.2.tar.gz && \
    tar xfz v1.0.2.tar.gz && \
    mv rapidjson-1.0.2/include/rapidjson/ /usr/local/include && \
    # Install Google Test/Mock from source
    curl -kOL http://googlemock.googlecode.com/files/gmock-1.5.0.tar.bz2 && \
    tar xfj gmock-1.5.0.tar.bz2 && \
    cd gmock-1.5.0 && \
    ./configure && \
    make && \
    make install && \
    ldconfig && \
    cd /opt && \
    # Install proxyCoap
    git clone https://github.com/staropram/cantcoap && \
    cd cantcoap && \
    git checkout ${GIT_REV_ORION_PROXYCOAP} && \
    make && \
{'fraction_non_alphanumeric': 0.13237179487179487, 'fraction_numerical': 0.03974358974358974, 'mean_word_length': 2.0271580989330746, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, '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': '3466044', 'n_tokens_mistral': 1276, 'n_tokens_neox': 1212, 'n_words': 231}