<commit_before>FROM fans/oracle-java8
MAINTAINER <NAME> <EMAIL>

# apt
RUN apt-get update
RUN apt-get install -y git curl build-essential make gcc wget libtool autoconf automake uuid-dev pkg-config

#zero mq
ENV ZEROMQ_VERSION 4.0.5
RUN wget http://download.zeromq.org/zeromq-$ZEROMQ_VERSION.tar.gz
RUN tar -xzf zeromq-*.tar.gz
RUN cd zeromq-$ZEROMQ_VERSION && ./configure && make && make install

#JZMQ
RUN git clone https://github.com/nathanmarz/jzmq.git
RUN cd jzmq/src && touch classdist_noinst.stamp && CLASSPATH=.:./.:$CLASSPATH javac -d . org/zeromq/ZMQ.java org/zeromq/ZMQException.java org/zeromq/ZMQQueue.java org/zeromq/ZMQForwarder.java org/zeromq/ZMQStreamer.java
ENV JAVA_HOME /usr/lib/jvm/java-8-oracle
RUN cd jzmq && ./autogen.sh && ./configure && make && make install

#storm
ENV STORM_VERSION 0.9.3
RUN wget http://apache.mirrors.pair.com/incubator/storm/apache-storm-$STORM_VERSION-incubating/apache-storm-$STORM_VERSION-incubating.tar.gz
RUN tar -xzf apache-storm-*.tar.gz
RUN ln -sfn apache-storm-$STORM_VERSION-incubating storm

ADD storm.log.properties /storm/log4j/storm.log.properties

CMD ["storm/storm"]<commit_msg>Adjust source site for Storm download<commit_after>FROM fans/oracle-java8
MAINTAINER <NAME> <EMAIL>

# apt
RUN apt-get update
RUN apt-get install -y git curl build-essential make gcc wget libtool autoconf automake uuid-dev pkg-config

#zero mq
ENV ZEROMQ_VERSION 4.0.5
RUN wget http://download.zeromq.org/zeromq-$ZEROMQ_VERSION.tar.gz
RUN tar -xzf zeromq-*.tar.gz
RUN cd zeromq-$ZEROMQ_VERSION && ./configure && make && make install

#JZMQ
RUN git clone https://github.com/nathanmarz/jzmq.git
RUN cd jzmq/src && touch classdist_noinst.stamp && CLASSPATH=.:./.:$CLASSPATH javac -d . org/zeromq/ZMQ.java org/zeromq/ZMQException.java org/zeromq/ZMQQueue.java org/zeromq/ZMQForwarder.java org/zeromq/ZMQStreamer.java
ENV JAVA_HOME /usr/lib/jvm/java-8-oracle
RUN cd jzmq && ./autogen.sh && ./configure && make && make install

#storm
ENV STORM_VERSION 0.9.3
RUN wget http://psg.mtu.edu/pub/apache/storm/apache-storm-$STORM_VERSION/apache-storm-$STORM_VERSION.tar.gz
RUN tar -xzf apache-storm-*.tar.gz
RUN ln -sfn apache-storm-$STORM_VERSION storm

ADD storm.log.properties /storm/log4j/storm.log.properties

CMD ["storm/storm"]
{'fraction_non_alphanumeric': 0.12941696113074205, 'fraction_numerical': 0.007950530035335688, 'mean_word_length': 4.3546099290780145, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2629842', 'n_tokens_mistral': 897, 'n_tokens_neox': 862, 'n_words': 190}