<commit_before>FROM debian:wheezy

MAINTAINER <NAME> <<EMAIL>>

ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update && apt-get install -yq --no-install-recommends \
  openssh-server python-pip build-essential python-dev libzmq-dev libxml2-dev \
  libxslt1-dev curl

# psutil==1.2.1 ?
RUN pip install circus chaussette waitress nodeenv

RUN adduser --system --shell /bin/sh --no-create-home rsm --uid 500

RUN mkdir /var/run/sshd /var/log/circus

RUN nodeenv --prebuilt /env
ENV PATH /env/bin:${PATH}
RUN npm install -g bower gulp

ADD . /rsm
WORKDIR /rsm
RUN npm install
RUN bower --allow-root install
RUN gulp
RUN pip install .

RUN apt-get purge -yq build-essential python-dev libzmq-dev libxml2-dev \
  libxslt1-dev curl && apt-get autoremove -yq && apt-get clean all \
  && rm -fr /env

# sshd, reverse-ssh-manager
EXPOSE 22 8888

CMD ["/usr/local/bin/circusd", "/rsm/docker/circus/circusd.ini"]<commit_msg>git is required by "bower --allow-root install" command<commit_after>FROM debian:wheezy

MAINTAINER <NAME> <<EMAIL>>

ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update && apt-get install -yq --no-install-recommends \
  openssh-server python-pip build-essential python-dev libzmq-dev libxml2-dev \
  libxslt1-dev curl git

# psutil==1.2.1 ?
RUN pip install circus chaussette waitress nodeenv

RUN adduser --system --shell /bin/sh --no-create-home rsm --uid 500

RUN mkdir /var/run/sshd /var/log/circus

RUN nodeenv --prebuilt /env
ENV PATH /env/bin:${PATH}
RUN npm install -g bower gulp

ADD . /rsm
WORKDIR /rsm
RUN npm install
RUN bower --allow-root install
RUN gulp
RUN pip install .

RUN apt-get purge -yq build-essential python-dev libzmq-dev libxml2-dev \
  libxslt1-dev curl git && apt-get autoremove -yq && apt-get clean all \
  && rm -fr /env

# sshd, reverse-ssh-manager
EXPOSE 22 8888

CMD ["/usr/local/bin/circusd", "/rsm/docker/circus/circusd.ini"]
{'fraction_non_alphanumeric': 0.1187433439829606, 'fraction_numerical': 0.01703940362087327, 'mean_word_length': 3.442080378250591, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '1907794', 'n_tokens_mistral': 744, 'n_tokens_neox': 695, 'n_words': 208}