<commit_before>FROM debian:wheezy

MAINTAINER blacktop, https://github.com/blacktop

# Install Bro Required Dependencies
RUN buildDeps='libgoogle-perftools-dev \
              build-essential \
              libcurl3-dev \
              libgeoip-dev \
              libpcap-dev \
              libssl-dev \
              python-dev \
              zlib1g-dev \
              git-core \
              cmake \
              make \
              g++ \
              gcc \
              python-dev' \
  && set -x \
  && echo "[INFO] Installing Dependancies..." \
  && apt-get -qq update \
  && apt-get install -yq $buildDeps \
                      php5-curl \
                      sendmail \
                      openssl \
                      bison \
                      flex \
                      gawk \
                      swig \
                      curl --no-install-recommends \
  && echo "[INFO] Installing Bro..." \
  && git clone --recursive git://git.bro.org/bro \
  && cd bro && ./configure --prefix=/nsm/bro \
  && make \
  && make install \
  && rm -rf /bro \
  && echo "[INFO] Cleaning image to reduce size..." \
  && apt-get purge -y --auto-remove $buildDeps \
  && apt-get clean \
  && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

# Install the GeoIPLite Database
ADD /geoip /usr/share/GeoIP/
RUN \
  gunzip /usr/share/GeoIP/GeoLiteCityv6.dat.gz && \
  gunzip /usr/share/GeoIP/GeoLiteCity.dat.gz && \
  rm -f /usr/share/GeoIP/GeoLiteCityv6.dat.gz && \
  rm -f /usr/share/GeoIP/GeoLiteCity.dat.gz && \
  ln -s /usr/share/GeoIP/GeoLiteCityv6.dat /usr/share/GeoIP/GeoIPCityv6.dat && \
  ln -s /usr/share/GeoIP/GeoLiteCity.dat /usr/share/GeoIP/GeoIPCity.dat<commit_msg>Update Dockerfile<commit_after>FROM debian:wheezy

MAINTAINER blacktop, https://github.com/blacktop

# Install Bro Required Dependencies
RUN buildDeps='libgoogle-perftools-dev \
              build-essential \
              libcurl3-dev \
              libgeoip-dev \
              libpcap-dev \
              libssl-dev \
              python-dev \
              zlib1g-dev \
              git-core \
              cmake \
              make \
              g++ \
              gcc \
              python-dev' \
  && set -x \
  && echo "[INFO] Installing Dependancies..." \
  && apt-get -qq update \
  && apt-get install -yq $buildDeps \
                      php5-curl \
                      sendmail \
                      openssl \
                      bison \
                      flex \
                      gawk \
                      swig \
                      curl --no-install-recommends \
  && echo "[INFO] Installing Bro..." \
  && git clone --recursive git://git.bro.org/bro \
  && cd bro && ./configure --prefix=/nsm/bro \
  && make \
  && make install \
  && rm -rf /bro \
  && echo "[INFO] Cleaning image to reduce size..." \
  && apt-get remove -y $buildDeps \
  && apt-get clean \
  && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

# Install the GeoIPLite Database
ADD /geoip /usr/share/GeoIP/
RUN \
  gunzip /usr/share/GeoIP/GeoLiteCityv6.dat.gz && \
  gunzip /usr/share/GeoIP/GeoLiteCity.dat.gz && \
  rm -f /usr/share/GeoIP/GeoLiteCityv6.dat.gz && \
  rm -f /usr/share/GeoIP/GeoLiteCity.dat.gz && \
  ln -s /usr/share/GeoIP/GeoLiteCityv6.dat /usr/share/GeoIP/GeoIPCityv6.dat && \
  ln -s /usr/share/GeoIP/GeoLiteCity.dat /usr/share/GeoIP/GeoIPCity.dat
{'fraction_non_alphanumeric': 0.13675467220409374, 'fraction_numerical': 0.004153070305547315, 'mean_word_length': 1.3064295485636115, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '849724', 'n_tokens_mistral': 1161, 'n_tokens_neox': 1116, 'n_words': 217}