<commit_before>FROM debian:7.8
MAINTAINER <NAME> <EMAIL>

ENV ZK_RELEASE http://www.apache.org/dist/zookeeper/zookeeper-3.4.6/zookeeper-3.4.6.tar.gz
ENV EXHIBITOR_POM https://raw.githubusercontent.com/mbabineau/docker-zk-exhibitor/0e120360859c5c1c3cfbc81390f363c57e3a146a/include/pom.xml

# Append "+" to ensure the package doesn't get purged
ENV BUILD_DEPS curl maven openjdk-7-jdk openjdk-7-jre-headless+
ENV DEBIAN_FRONTEND noninteractive

# Use one step so we can remove intermediate dependencies and minimize size
RUN \
    # Install dependencies
    apt-get update \
    && apt-get install -y --no-install-recommends $BUILD_DEPS \

    # Default DNS cache TTL is -1. DNS records, like, change, man.
    && grep '^networkaddress.cache.ttl=' /etc/java-7-openjdk/security/java.security || echo 'networkaddress.cache.ttl=60' >> /etc/java-7-openjdk/security/java.security \

    # Install ZK
    && curl -Lo /tmp/zookeeper.tgz $ZK_RELEASE \
    && mkdir -p /opt/zookeeper/{transactions,snapshots} \
    && tar -xzf /tmp/zookeeper.tgz -C /opt/zookeeper --strip=1 \
    && rm /tmp/zookeeper.tgz \

    # Install Exhibitor
    && mkdir -p /opt/exhibitor \
    && curl -Lo /opt/exhibitor/pom.xml $EXHIBITOR_POM \
    && mvn -f /opt/exhibitor/pom.xml assembly:single \
    && ln -s /opt/exhibitor/target/exhibitor*jar /opt/exhibitor/exhibitor.jar \

    # Remove build-time dependencies
    && apt-get purge -y --auto-remove $BUILD_DEPS \
    && rm -rf /var/lib/apt/lists/*<commit_msg>Need to keep the JDK installed so we have jps<commit_after>FROM debian:7.8
MAINTAINER <NAME> <EMAIL>

ENV ZK_RELEASE http://www.apache.org/dist/zookeeper/zookeeper-3.4.6/zookeeper-3.4.6.tar.gz
ENV EXHIBITOR_POM https://raw.githubusercontent.com/mbabineau/docker-zk-exhibitor/0e120360859c5c1c3cfbc81390f363c57e3a146a/include/pom.xml

# Append "+" to ensure the package doesn't get purged
ENV BUILD_DEPS curl maven openjdk-7-jdk+
ENV DEBIAN_FRONTEND noninteractive

# Use one step so we can remove intermediate dependencies and minimize size
RUN \
    # Install dependencies
    apt-get update \
    && apt-get install -y --no-install-recommends $BUILD_DEPS \

    # Default DNS cache TTL is -1. DNS records, like, change, man.
    && grep '^networkaddress.cache.ttl=' /etc/java-7-openjdk/security/java.security || echo 'networkaddress.cache.ttl=60' >> /etc/java-7-openjdk/security/java.security \

    # Install ZK
    && curl -Lo /tmp/zookeeper.tgz $ZK_RELEASE \
    && mkdir -p /opt/zookeeper/{transactions,snapshots} \
    && tar -xzf /tmp/zookeeper.tgz -C /opt/zookeeper --strip=1 \
    && rm /tmp/zookeeper.tgz \

    # Install Exhibitor
    && mkdir -p /opt/exhibitor \
    && curl -Lo /opt/exhibitor/pom.xml $EXHIBITOR_POM \
    && mvn -f /opt/exhibitor/pom.xml assembly:single \
    && ln -s /opt/exhibitor/target/exhibitor*jar /opt/exhibitor/exhibitor.jar \

    # Remove build-time dependencies
    && apt-get purge -y --auto-remove $BUILD_DEPS \
    && rm -rf /var/lib/apt/lists/*
{'fraction_non_alphanumeric': 0.13362504207337597, 'fraction_numerical': 0.0286098956580276, 'mean_word_length': 3.1624649859943976, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 6}, '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': '5118567', 'n_tokens_mistral': 1186, 'n_tokens_neox': 1118, 'n_words': 231}