<commit_before>FROM ubuntu:12.04
MAINTAINER <NAME> <<EMAIL>>

RUN apt-get update
RUN apt-get -y install curl git libxslt-dev libxml2-dev

RUN curl -sSL https://get.rvm.io | bash -s stable
RUN echo 'source /usr/local/rvm/scripts/rvm' >> /etc/bash.bashrc

RUN /bin/bash -l -c 'rvm install ruby-1.9.2-p320'
RUN mkdir /repo
RUN adduser --home /data --disabled-login --gecos "Scraper User" scraper

ADD Gemfile /etc/Gemfile
RUN /bin/bash -l -c 'bundle install --gemfile /etc/Gemfile'

VOLUME /repo
VOLUME /data<commit_msg>Make /data directory in container writable by everyone<commit_after>FROM ubuntu:12.04
MAINTAINER <NAME> <<EMAIL>>

RUN apt-get update
RUN apt-get -y install curl git libxslt-dev libxml2-dev

RUN curl -sSL https://get.rvm.io | bash -s stable
RUN echo 'source /usr/local/rvm/scripts/rvm' >> /etc/bash.bashrc

RUN /bin/bash -l -c 'rvm install ruby-1.9.2-p320'
RUN mkdir /repo
RUN adduser --home /data --disabled-login --gecos "Scraper User" scraper
RUN chmod 666 /data

ADD Gemfile /etc/Gemfile
RUN /bin/bash -l -c 'bundle install --gemfile /etc/Gemfile'

VOLUME /repo
VOLUME /data
{'fraction_non_alphanumeric': 0.13150684931506848, 'fraction_numerical': 0.0228310502283105, 'mean_word_length': 3.4193548387096775, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 13, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, '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': '4990692', 'n_tokens_mistral': 448, 'n_tokens_neox': 416, 'n_words': 134}