<commit_before>FROM ubuntu:14.10

ENV ZOOKEEPER_VERSION=3.4.5

COPY cloudera.pref /etc/apt/preferences.d/cloudera.pref

RUN apt-get update &&\
    apt-get upgrade -y &&\
    apt-get install -y wget openjdk-8-jre-headless --no-install-recommends &&\
    dpkg-reconfigure ca-certificates-java &&\
    (wget http://archive.cloudera.com/cdh5/ubuntu/trusty/amd64/cdh/archive.key -O - | apt-key add -) &&\
    wget 'http://archive.cloudera.com/cdh5/ubuntu/trusty/amd64/cdh/cloudera.list' -O /etc/apt/sources.list.d/cloudera.list &&\
    apt-get update &&\
    apt-get install -y "zookeeper-server=$ZOOKEEPER_VERSION+*" --no-install-recommends &&\
    apt-get clean &&\
    rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

VOLUME /var/lib/zookeeper /etc/zookeeper

EXPOSE 2181 2888 3888
CMD ["zookeeper-server"]<commit_msg>Fixed zk startup<commit_after>FROM ubuntu:14.10

ENV ZOOKEEPER_VERSION=3.4.5

COPY cloudera.pref /etc/apt/preferences.d/cloudera.pref

RUN apt-get update &&\
    apt-get upgrade -y &&\
    apt-get install -y wget openjdk-8-jre-headless --no-install-recommends &&\
    dpkg-reconfigure ca-certificates-java &&\
    (wget http://archive.cloudera.com/cdh5/ubuntu/trusty/amd64/cdh/archive.key -O - | apt-key add -) &&\
    wget 'http://archive.cloudera.com/cdh5/ubuntu/trusty/amd64/cdh/cloudera.list' -O /etc/apt/sources.list.d/cloudera.list &&\
    apt-get update &&\
    apt-get install -y "zookeeper-server=$ZOOKEEPER_VERSION+*" --no-install-recommends &&\
    apt-get clean &&\
    rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

VOLUME /var/lib/zookeeper /etc/zookeeper

EXPOSE 2181 2888 3888
CMD ["zookeeper-server", "start-foreground"]
{'fraction_non_alphanumeric': 0.16838279830405814, 'fraction_numerical': 0.031496062992125984, 'mean_word_length': 3.099255583126551, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '7262522', 'n_tokens_mistral': 724, 'n_tokens_neox': 675, 'n_words': 108}