<commit_before>#
#   Author: Rohith
#   Date: 2015-06-03 18:26:13 +0100 (Wed, 03 Jun 2015)
#
#  vim:ts=2:sw=2:et
#
FROM fedora:latest
MAINTAINER Rohith <<EMAIL>>

RUN mkdir -p /root/.ssh
RUN mkdir -p /var/run/sshd

ADD config/sshd.ini /etc/supervisord.d/sshd.ini
ADD config/authorized_keys /root/.ssh/authorized_keys
RUN chmod 400 /root/.ssh/authorized_keys
RUN chown root:root /root/.ssh/authorized_keys
 
RUN /usr/bin/dnf install -y strace vim tcpdump ansible openssh-server supervisor \
  net-tools procps-ng openssh-server

RUN ssh-keygen -b 1024 -t rsa -f /etc/ssh/ssh_host_key
RUN ssh-keygen -b 1024 -t rsa -f /etc/ssh/ssh_host_rsa_key
RUN ssh-keygen -b 1024 -t dsa -f /etc/ssh/ssh_host_dsa_key
RUN sed -i 's/UsePAM\syes/UsePAM no/' /etc/ssh/sshd_config
RUN chmod 0400 /root/.ssh/authorized_keys

ENTRYPOINT [ "/usr/bin/supervisord", "-n" ]
<commit_msg>- adding the ceph binaries to the bastion<commit_after>#
#   Author: Rohith
#   Date: 2015-06-03 18:26:13 +0100 (Wed, 03 Jun 2015)
#
#  vim:ts=2:sw=2:et
#
FROM fedora:latest
MAINTAINER Rohith <<EMAIL>>

RUN mkdir -p /root/.ssh
RUN mkdir -p /var/run/sshd

ADD config/sshd.ini /etc/supervisord.d/sshd.ini
ADD config/authorized_keys /root/.ssh/authorized_keys
RUN chmod 400 /root/.ssh/authorized_keys
RUN chown root:root /root/.ssh/authorized_keys

RUN /usr/bin/dnf install -y strace vim tcpdump ceph-common openssh-server supervisor \
  net-tools procps-ng openssh-server

RUN ssh-keygen -b 1024 -t rsa -f /etc/ssh/ssh_host_key
RUN ssh-keygen -b 1024 -t rsa -f /etc/ssh/ssh_host_rsa_key
RUN ssh-keygen -b 1024 -t dsa -f /etc/ssh/ssh_host_dsa_key
RUN sed -i 's/UsePAM\syes/UsePAM no/' /etc/ssh/sshd_config
RUN chmod 0400 /root/.ssh/authorized_keys

ENTRYPOINT [ "/usr/bin/supervisord", "-n" ]

{'fraction_non_alphanumeric': 0.13036020583190394, 'fraction_numerical': 0.051457975986277875, 'mean_word_length': 3.593175853018373, 'pattern_counts': {'":': 0, '<': 7, '<?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': '305158', 'n_tokens_mistral': 828, 'n_tokens_neox': 704, 'n_words': 185}