<commit_before>FROM	mongo:2.6.4
MAINTAINER <EMAIL>

RUN apt-get update && apt-get install -y python openssh-server
RUN apt-get install -y python-pip python-setuptools

# pymongo
RUN apt-get install -y build-essential python-dev
RUN easy_install pymongo

RUN mkdir /var/run/sshd
RUN echo 'root:fai' | chpasswd
RUN sed -i 's/PermitRootLogin without-password/PermitRootLogin yes/' /etc/ssh/sshd_config

ADD start.sh /
ADD rpc_service.py /

#EXPOSE 22
#EXPOSE 4000 8000

CMD ["/start.sh"]<commit_msg>add ssh support<commit_after>FROM	mongo:2.6.4
MAINTAINER <EMAIL>

RUN apt-get update && apt-get install -y python openssh-server
RUN apt-get install -y python-pip python-setuptools

# pymongo
RUN apt-get install -y build-essential python-dev
RUN easy_install pymongo

# ssh
RUN mkdir /var/run/sshd
RUN echo 'root:fai' | chpasswd
RUN sed -i 's/PermitRootLogin without-password/PermitRootLogin yes/' /etc/ssh/sshd_config

# SSH login fix. Otherwise user is kicked off after login
RUN sed 's@session\s*required\s*pam_loginuid.so@session optional pam_loginuid.so@g' -i /etc/pam.d/sshd

ENV NOTVISIBLE "in users profile"
RUN echo "export VISIBLE=now" >> /etc/profile
# -- end ssh

ADD start.sh /
ADD rpc_service.py /

#EXPOSE 22
#EXPOSE 4000 8000

CMD ["/start.sh"]
{'fraction_non_alphanumeric': 0.10748407643312102, 'fraction_numerical': 0.020700636942675158, 'mean_word_length': 4.194214876033058, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '6142381', 'n_tokens_mistral': 500, 'n_tokens_neox': 460, 'n_words': 137}