<commit_before>FROM ubuntu:14.04

RUN apt-get update && apt-get install -y wget nano supervisor language-pack-en-base subversion git curl
RUN apt-get install -y --no-install-recommends openjdk-7-jdk ant
RUN update-alternatives --set java /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java
RUN update-alternatives --set javac /usr/lib/jvm/java-7-openjdk-amd64/bin/javac
ENV LC_ALL en_US.UTF-8

ENV JAVA_HOME /usr/lib/jvm/java-7-openjdk-amd64/
ENV ANT_HOME /usr/share/ant

RUN git clone -b master-next https://github.com/romanchyla/montysolr.git /montysolr
RUN cd /montysolr && ant ivy-bootstrap && ant build-all

WORKDIR /montysolr/build/contrib/examples/adsabs/
RUN curl -L -o author_generate.translit https://DOWNLOAD_URL
RUN mv author_generate.translit solr/collection1/conf/author_generated.translit

RUN mkdir -p /data/batch-handler

EXPOSE 8983

#Supervisord will take care of keeping services up
ADD supervisord.conf /etc/supervisor/supervisord.conf
ADD run.sh /montysolr/build/contrib/examples/adsabs/run.sh
CMD ["/usr/bin/supervisord"]<commit_msg>solr: remove author_translit adding to conf; overwrite stock zkcli.sh<commit_after>FROM ubuntu:14.04

RUN apt-get update && apt-get install -y wget nano supervisor language-pack-en-base subversion git curl
RUN apt-get install -y --no-install-recommends openjdk-7-jdk ant
RUN update-alternatives --set java /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java
RUN update-alternatives --set javac /usr/lib/jvm/java-7-openjdk-amd64/bin/javac
ENV LC_ALL en_US.UTF-8

ENV JAVA_HOME /usr/lib/jvm/java-7-openjdk-amd64/
ENV ANT_HOME /usr/share/ant

RUN git clone -b master-next https://github.com/romanchyla/montysolr.git /montysolr
RUN cd /montysolr && ant ivy-bootstrap && ant build-all

WORKDIR /montysolr/build/contrib/examples/adsabs/
ADD zkcli.sh scripts/cloud-scripts/zkcli.sh

RUN mkdir -p /data/batch-handler

EXPOSE 8983

#Supervisord will take care of keeping services up
ADD supervisord.conf /etc/supervisor/supervisord.conf
ADD run.sh /montysolr/build/contrib/examples/adsabs/run.sh
CMD ["/usr/bin/supervisord"]
{'fraction_non_alphanumeric': 0.11305191654536632, 'fraction_numerical': 0.018922852983988356, 'mean_word_length': 4.207070707070707, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, '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': '1762443', 'n_tokens_mistral': 794, 'n_tokens_neox': 756, 'n_words': 178}