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

# Strange little bug in /tmp permissions
RUN chmod go+w,u+s /tmp

# Fix the locale
RUN localedef -c -i en_AU -f UTF-8 en_AU.UTF-8 || :

RUN apt-get -yq update && apt-get -yq upgrade

# Requirements for RoR
RUN apt-get -yq install ruby-dev
RUN apt-get -yq install make
RUN apt-get -yq install ruby2.0
RUN apt-get -yq install libsqlite3-dev
RUN apt-get -yq install nodejs
RUN apt-get -yq install git
RUN gem install rails

# Add a continuously user
RUN adduser --disabled-password --gecos "" continuously; \
  echo "continuously ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
RUN mkdir -p /var/lib/continuously && chown continuously.continuously /var/lib/continuously
ENV HOME /home/continuously
USER continuously

# Add the project to the container
VOLUME /var/containers
RUN chown -R continuously.continuously /var/containers

ADD . /opt/continuously
RUN sudo chown -R continuously.continuously /opt/continuously

# Set our base directory
WORKDIR /opt/continuously
RUN bundle install
<commit_msg>replaced /var/lib/continuously with /var/containers<commit_after>FROM ubuntu:saucy
MAINTAINER <NAME> <<EMAIL>>

# Strange little bug in /tmp permissions
RUN chmod go+w,u+s /tmp

# Fix the locale
RUN localedef -c -i en_AU -f UTF-8 en_AU.UTF-8 || :

RUN apt-get -yq update && apt-get -yq upgrade

# Requirements for RoR
RUN apt-get -yq install ruby-dev
RUN apt-get -yq install make
RUN apt-get -yq install ruby2.0
RUN apt-get -yq install libsqlite3-dev
RUN apt-get -yq install nodejs
RUN apt-get -yq install git
RUN gem install rails

# Add a continuously user
RUN adduser --disabled-password --gecos "" continuously; \
  echo "continuously ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
VOLUME /var/containers
RUN chown -R continuously.continuously /var/containers
ENV HOME /home/continuously

USER continuously

# Add the project to the container
ADD . /opt/continuously
RUN sudo chown -R continuously.continuously /opt/continuously

# Set our base directory
WORKDIR /opt/continuously
RUN bundle install

{'fraction_non_alphanumeric': 0.09228515625, 'fraction_numerical': 0.0048828125, 'mean_word_length': 3.9612590799031477, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 13, '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': '7521683', 'n_tokens_mistral': 717, 'n_tokens_neox': 671, 'n_words': 248}