<commit_before>FROM ubuntu:14.04

ENV DEBIAN_FRONTEND noninteractive
RUN echo debconf shared/accepted-oracle-license-v1-1 select true | debconf-set-selections
RUN echo debconf shared/accepted-oracle-license-v1-1 seen true | debconf-set-selections

RUN apt-get update && apt-get install -y software-properties-common
RUN add-apt-repository ppa:webupd8team/java && add-apt-repository ppa:chris-lea/node.js && apt-get update

RUN apt-get install -y g++ python libnss3-dev libasound2-dev libpulse-dev libjpeg62-dev libxv-dev libgtk2.0-dev libexpat1-dev nodejs oracle-java6-installer oracle-java6-set-default

ENV JAVA_HOME /usr/lib/jvm/java-6-oracle/jre/bin/java
ENV PATH $PATH:/usr/lib/jvm/java-6-oracle/jre/bin/

ADD ./ /wrtc/
WORKDIR /wrtc/

RUN node_modules/.bin/node-pre-gyp install --fallback-to-build
RUN npm install
RUN npm test<commit_msg>Run "npm install" to get "node-pre-gyp" installed<commit_after>FROM ubuntu:14.04

ENV DEBIAN_FRONTEND noninteractive
RUN echo debconf shared/accepted-oracle-license-v1-1 select true | debconf-set-selections
RUN echo debconf shared/accepted-oracle-license-v1-1 seen true | debconf-set-selections

RUN apt-get update && apt-get install -y software-properties-common
RUN add-apt-repository ppa:webupd8team/java && add-apt-repository ppa:chris-lea/node.js && apt-get update

RUN apt-get install -y g++ python libnss3-dev libasound2-dev libpulse-dev libjpeg62-dev libxv-dev libgtk2.0-dev libexpat1-dev nodejs oracle-java6-installer oracle-java6-set-default

ENV JAVA_HOME /usr/lib/jvm/java-6-oracle/jre/bin/java
ENV PATH $PATH:/usr/lib/jvm/java-6-oracle/jre/bin/

ADD ./ /wrtc/
WORKDIR /wrtc/

RUN npm install && node_modules/.bin/node-pre-gyp install --fallback-to-build
RUN npm install
RUN npm test
{'fraction_non_alphanumeric': 0.11385853939045429, 'fraction_numerical': 0.023001725129384705, 'mean_word_length': 4.337423312883436, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '6105789', 'n_tokens_mistral': 673, 'n_tokens_neox': 632, 'n_words': 145}