<commit_before>FROM  enginesos/base
RUN apt-get update
RUN apt-get -y install nagios3
RUN echo "Y" | adduser -q --home /home/rma --disabled-password rma
ADD sudoers /etc/
RUN chown 0 /etc/sudoers
ADD apache2.nagios3.conf /etc/apache2/conf.d/nagios3.conf
ADD apache2.conf /etc/apache2/
ADD nagios.cfg /etc/nagios3/
ADD known_hosts /home/rma/.ssh/known_hosts
ADD nagios.pub /home/rma/.ssh/authorized_keys
RUN chown rma -R /home/rma/.ssh

ADD mysql.cfg	/etc/nagios3/conf.d/
ADD nginx.cfg	/etc/nagios3/conf.d/
ADD groups.cfg	/etc/nagios3/conf.d/


#FIXME Much better method id probaly to copy a htpasswd file across need to set a better passwd
RUN htpasswd -c -b  /etc/nagios3/htpasswd.users nagiosadmin admin

ADD home home


EXPOSE 80
EXPOSE 22<commit_msg>no known hosts at buld time<commit_after>FROM  enginesos/base
RUN apt-get update
RUN apt-get -y install nagios3
RUN echo "Y" | adduser -q --home /home/rma --disabled-password rma
ADD sudoers /etc/
RUN chown 0 /etc/sudoers
ADD apache2.nagios3.conf /etc/apache2/conf.d/nagios3.conf
ADD apache2.conf /etc/apache2/
ADD nagios.cfg /etc/nagios3/

ADD nagios.pub /home/rma/.ssh/authorized_keys
RUN chown rma -R /home/rma/.ssh

ADD mysql.cfg	/etc/nagios3/conf.d/
ADD nginx.cfg	/etc/nagios3/conf.d/
ADD groups.cfg	/etc/nagios3/conf.d/


#FIXME Much better method id probaly to copy a htpasswd file across need to set a better passwd
RUN htpasswd -c -b  /etc/nagios3/htpasswd.users nagiosadmin admin

ADD home home


EXPOSE 80
EXPOSE 22
{'fraction_non_alphanumeric': 0.10337837837837838, 'fraction_numerical': 0.022972972972972974, 'mean_word_length': 3.4474474474474475, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2550005', 'n_tokens_mistral': 619, 'n_tokens_neox': 597, 'n_words': 175}