<commit_before>#
# Run Apache Kafka cluster in docker 
#
# Version     0.1
#

FROM huahaiy/oracle-java

MAINTAINER <NAME> <<EMAIL>>

RUN \
  echo "===> download kafka..."  && \ 
  wget -q -O - \
  http://www.gtlib.gatech.edu/pub/apache/kafka/0.8.1.1/kafka_2.9.2-0.8.1.1.tgz | \
  tar -xzf - -C /opt && \   
  \
  \
  echo "===> setup kafka..."  

ENV KAFKA_HOME /opt/kafka_2.9.2-0.8.1.1

ADD start-kafka.sh /usr/bin/start-kafka.sh
ADD broker-list.sh /usr/bin/broker-list.sh

CMD start-kafka.sh<commit_msg>move docker to this layer<commit_after>#
# Run Apache Kafka cluster in docker 
#
# Version     0.1
#

FROM huahaiy/oracle-java

MAINTAINER <NAME> <<EMAIL>>

RUN \
  echo "===> download kafka..."  && \ 
  wget -q -O - \
  http://www.gtlib.gatech.edu/pub/apache/kafka/0.8.1.1/kafka_2.9.2-0.8.1.1.tgz | \
  tar -xzf - -C /opt && \   
  \
  \
  echo "===> install docker..."  && \
  wget -O - https://get.docker.com/ | sh && \
  \
  \
  echo "===> setup kafka..."  

ENV KAFKA_HOME /opt/kafka_2.9.2-0.8.1.1

ADD start-kafka.sh /usr/bin/start-kafka.sh
ADD broker-list.sh /usr/bin/broker-list.sh

CMD start-kafka.sh
{'fraction_non_alphanumeric': 0.20107719928186715, 'fraction_numerical': 0.03590664272890485, 'mean_word_length': 2.1320224719101124, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 14, 'https://': 1, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 6, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7092032', 'n_tokens_mistral': 529, 'n_tokens_neox': 509, 'n_words': 90}