<commit_before># DOCKER-VERSION 1.2.0
# VERSION 0.3

FROM zooniverse/java
MAINTAINER <NAME> <<EMAIL>>

ENV KAFKA_VERSION 0.8.2.0
ENV SCALA_VERSION 2.11

RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
    apt-get upgrade -y && \
    apt-get install -y -q wget && \
    apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

RUN wget -q -O - "http://mirror.sdunix.com/apache/kafka/$KAFKA_VERSION/kafka_$SCALA_VERSION-$KAFKA_VERSION.tgz" | \
    tar zx -C /opt/
ADD start_kafka.sh /opt/start_kafka.sh
RUN chmod +x /opt/start_kafka.sh

EXPOSE 9092

ENTRYPOINT ["./opt/start_kafka.sh"]<commit_msg>Switch to a working mirror<commit_after># DOCKER-VERSION 1.2.0
# VERSION 0.3

FROM zooniverse/java
MAINTAINER <NAME> <<EMAIL>>

ENV KAFKA_VERSION 0.8.2.0
ENV SCALA_VERSION 2.11

RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
    apt-get upgrade -y && \
    apt-get install -y -q wget && \
    apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

RUN wget -q -O - "http://www.mirrorservice.org/sites/ftp.apache.org/kafka/$KAFKA_VERSION/kafka_$SCALA_VERSION-$KAFKA_VERSION.tgz" | \
    tar zx -C /opt/
ADD start_kafka.sh /opt/start_kafka.sh
RUN chmod +x /opt/start_kafka.sh

EXPOSE 9092

ENTRYPOINT ["./opt/start_kafka.sh"]
{'fraction_non_alphanumeric': 0.1513210568454764, 'fraction_numerical': 0.025620496397117692, 'mean_word_length': 3.1946308724832213, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, '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': '588249', 'n_tokens_mistral': 554, 'n_tokens_neox': 527, 'n_words': 113}