<commit_before>FROM asteris/java:centos7_java7

MAINTAINER <NAME> <<EMAIL>>

ENV ZOOKEEPER_VERSION 3.4.6
ENV ZK_DATA_DIR /var/lib/zookeeper
ENV ZK_LOG_DIR /var/log/zookeeper

ENV CONSUL_TEMPLATE_VERSION 0.5.1

RUN yum -y install nmap-ncat tar wget  && \
    yum clean all

RUN wget -q https://github.com/hashicorp/consul-template/releases/download/v${CONSUL_TEMPLATE_VERSION}/consul-template_${CONSUL_TEMPLATE_VERSION}_linux_amd64.tar.gz && \
    tar zxvf consul-template_${CONSUL_TEMPLATE_VERSION}_linux_amd64.tar.gz && \
    mv consul-template_${CONSUL_TEMPLATE_VERSION}_linux_amd64/consul-template  /usr/local/bin/consul-template && \
    chmod +x /usr/local/bin/consul-template

RUN wget -q -O - http://apache.mirrors.pair.com/zookeeper/zookeeper-$ZOOKEEPER_VERSION/zookeeper-$ZOOKEEPER_VERSION.tar.gz | tar -xzf - -C /opt \
    && mv /opt/zookeeper-$ZOOKEEPER_VERSION /opt/zookeeper \
    && cp /opt/zookeeper/conf/zoo_sample.cfg /opt/zookeeper/conf/zoo.cfg \
    && mkdir -p /tmp/zookeeper

ENV JAVA_HOME /usr/lib/jvm/java

EXPOSE 2181 2888 3888

COPY zk_config.sh /usr/local/bin/
COPY zk_launch.sh /usr/local/bin/
RUN  mkdir -p  /opt/zookeeper/templates

COPY templates /opt/zookeeper/templates/<commit_msg>Update consul-template to 0.6.0<commit_after>FROM asteris/java:centos7_java7

MAINTAINER <NAME> <<EMAIL>>

ENV ZOOKEEPER_VERSION 3.4.6
ENV ZK_DATA_DIR /var/lib/zookeeper
ENV ZK_LOG_DIR /var/log/zookeeper

ENV CONSUL_TEMPLATE_VERSION 0.6.0

RUN yum -y install nmap-ncat tar wget  && \
    yum clean all

RUN wget -q https://github.com/hashicorp/consul-template/releases/download/v${CONSUL_TEMPLATE_VERSION}/consul-template_${CONSUL_TEMPLATE_VERSION}_linux_amd64.tar.gz && \
    tar zxvf consul-template_${CONSUL_TEMPLATE_VERSION}_linux_amd64.tar.gz && \
    mv consul-template_${CONSUL_TEMPLATE_VERSION}_linux_amd64/consul-template  /usr/local/bin/consul-template && \
    chmod +x /usr/local/bin/consul-template

RUN wget -q -O - http://apache.mirrors.pair.com/zookeeper/zookeeper-$ZOOKEEPER_VERSION/zookeeper-$ZOOKEEPER_VERSION.tar.gz | tar -xzf - -C /opt \
    && mv /opt/zookeeper-$ZOOKEEPER_VERSION /opt/zookeeper \
    && cp /opt/zookeeper/conf/zoo_sample.cfg /opt/zookeeper/conf/zoo.cfg \
    && mkdir -p /tmp/zookeeper

ENV JAVA_HOME /usr/lib/jvm/java

EXPOSE 2181 2888 3888

COPY zk_config.sh /usr/local/bin/
COPY zk_launch.sh /usr/local/bin/
RUN  mkdir -p  /opt/zookeeper/templates

COPY templates /opt/zookeeper/templates/
{'fraction_non_alphanumeric': 0.12551103843008996, 'fraction_numerical': 0.022485690923957483, 'mean_word_length': 3.9235412474849096, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '1845776', 'n_tokens_mistral': 1054, 'n_tokens_neox': 994, 'n_words': 158}