<commit_before>FROM samsara/base-image-jdk7:u1410-j7u75

MAINTAINER Samsara's team (https://github.com/samsara/samsara-docker-images)

#
# Kafka installation
#
ENV KAFKA_VERSION 0.8.2.1
ENV SCALA_VERSION 2.10

RUN curl -sSL "http://apache.mirrors.pair.com/kafka/${KAFKA_VERSION}/kafka_${SCALA_VERSION}-${KAFKA_VERSION}.tgz" | tar -zxvf - -C /opt && \
    ln -fs /opt/kafka_* /opt/kafka && \
    mv /opt/kafka/config/server.properties /opt/kafka/config/server.properties.orig

ENV KAFKA_HOME /opt/kafka
VOLUME ["/data", "/logs"]
EXPOSE 15000

ADD ./server.properties.tmpl  /opt/kafka/config/server.properties.tmpl
ADD ./kafka-statsd-metrics2-0.4.0-SNP.jar /opt/kafka/libs/kafka-statsd-metrics2-0.4.0-SNP.jar<commit_msg>some info<commit_after>FROM samsara/base-image-jdk7:u1410-j7u75

MAINTAINER Samsara's team (https://github.com/samsara/samsara-docker-images)

#
# Kafka installation
#
ENV KAFKA_VERSION 0.8.2.1
ENV SCALA_VERSION 2.10

RUN curl -sSL "http://apache.mirrors.pair.com/kafka/${KAFKA_VERSION}/kafka_${SCALA_VERSION}-${KAFKA_VERSION}.tgz" | tar -zxvf - -C /opt && \
    ln -fs /opt/kafka_* /opt/kafka && \
    mv /opt/kafka/config/server.properties /opt/kafka/config/server.properties.orig

ENV KAFKA_HOME /opt/kafka
VOLUME ["/data", "/logs"]
# DEFAULT KAFKA_BROKER_PORT is 9092
EXPOSE 15000

ADD ./server.properties.tmpl  /opt/kafka/config/server.properties.tmpl
ADD ./kafka-statsd-metrics2-0.4.0-SNP.jar /opt/kafka/libs/kafka-statsd-metrics2-0.4.0-SNP.jar
{'fraction_non_alphanumeric': 0.1614441416893733, 'fraction_numerical': 0.04087193460490463, 'mean_word_length': 3.8803986710963456, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '901773', 'n_tokens_mistral': 664, 'n_tokens_neox': 612, 'n_words': 90}