<commit_before>FROM lab41/dendrite-snap 
MAINTAINER <NAME> <<EMAIL>>
 
RUN touch /var/log/tomcat7/catalina.out
EXPOSE 8000 8448 

# dev
ENV UPDATED 05-29-2014-0855
RUN mkdir /forks; cd forks; git clone https://github.com/cglewis/Dendrite.git; cd /forks/Dendrite; git checkout yarn; mvn package -f /forks/Dendrite/pom.xml -DskipTests; mv /forks/Dendrite/target/dendrite-0.1.0.war /var/lib/tomcat7/webapps/dendrite.war

# add scripts and binaries
#RUN mkdir /tmp/dendrite; cp /forks/Dendrite/bin/bigclam /tmp/dendrite/bigclam; cp /forks/Dendrite/bin/graphgen /tmp/dendrite/graphgen; cp /forks/Dendrite/bin/create_graph.sh /tmp/dendrite/create_graph.sh; cp /forks/Dendrite/bin/snap.sh /tmp/dendrite/snap.sh

# add rsyslog
RUN sed 's/#\$ModLoad imudp/\$ModLoad imudp/' -i /etc/rsyslog.conf
RUN sed 's/#\$UDPServerRun 514/\$UDPServerRun 514/' -i /etc/rsyslog.conf

# run supervisord daemon
CMD printf "*.*\t@$REMOTE_HOST" >> /etc/rsyslog.d/50-default.conf; /etc/init.d/rsyslog start; logger started try41 container; /usr/bin/supervisord && tail -F /var/log/tomcat7/catalina.out<commit_msg>get rid of dev stuff<commit_after>FROM lab41/dendrite-snap 
MAINTAINER <NAME> <<EMAIL>>
 
RUN touch /var/log/tomcat7/catalina.out

# add rsyslog
RUN sed 's/#\$ModLoad imudp/\$ModLoad imudp/' -i /etc/rsyslog.conf
RUN sed 's/#\$UDPServerRun 514/\$UDPServerRun 514/' -i /etc/rsyslog.conf

EXPOSE 8000 8448 

# run supervisord daemon
CMD printf "*.*\t@$REMOTE_HOST" >> /etc/rsyslog.d/50-default.conf; /etc/init.d/rsyslog start; logger started try41 container; /usr/bin/supervisord && tail -F /var/log/tomcat7/catalina.out
{'fraction_non_alphanumeric': 0.14990630855715179, 'fraction_numerical': 0.037476577139287946, 'mean_word_length': 4.037735849056604, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 13, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 1}, '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': '1532294', 'n_tokens_mistral': 719, 'n_tokens_neox': 646, 'n_words': 135}