<commit_before>FROM openjdk:8-jdk
MAINTAINER <NAME> <<EMAIL>>

ENV PRESTO_VERSION=0.166
ENV PRESTO_URL https://repo1.maven.org/maven2/com/facebook/presto
ENV WORKDIR /opt/presto

# Update packages.
RUN apt-get -qq -y update  

# Software installation
RUN apt-get -qq -y install build-essential telnet iperf build-essential wget curl 

# Install presto server
RUN mkdir -p ${WORKDIR}
WORKDIR ${WORKDIR}

RUN curl "${PRESTO_URL}/presto-server/${PRESTO_VERSION}/presto-server-${PRESTO_VERSION}.tar.gz" | tar --strip-components=1 -xzv

# Install presto CLI
RUN curl "${PRESTO_URL}/presto-cli/${PRESTO_VERSION}/presto-cli-${PRESTO_VERSION}-executable.jar" -o ${WORKDIR}/bin/presto && chmod +x ${WORKDIR}/bin/presto

# Deploy configuration
ADD etc ${WORKDIR}

VOLUME ["/data"]

# Start presto in foreground
CMD [ "bin/launcher", "run" ]<commit_msg>Revert "Switched to Java 8"<commit_after>FROM openjdk:8-jdk
MAINTAINER <NAME> <<EMAIL>>

ENV PRESTO_VERSION=0.166
ENV PRESTO_URL https://repo1.maven.org/maven2/com/facebook/presto
ENV WORKDIR /opt/presto

# Update packages.
RUN apt-get -qq -y update  

# Software installation
RUN apt-get -qq -y install build-essential telnet iperf build-essential wget curl 

# Install presto server
RUN mkdir -p ${WORKDIR}
WORKDIR ${WORKDIR}

RUN curl "${PRESTO_URL}/presto-server/${PRESTO_VERSION}/presto-server-${PRESTO_VERSION}.tar.gz" | tar --strip-components=1 -xzv

# Install presto CLI
RUN curl "${PRESTO_URL}/presto-cli/${PRESTO_VERSION}/presto-cli-${PRESTO_VERSION}-executable.jar" -o ${WORKDIR}/bin/presto && chmod +x ${WORKDIR}/bin/presto

VOLUME ["/data"]

# Start presto in foreground
CMD [ "bin/launcher", "run" ]
{'fraction_non_alphanumeric': 0.14380664652567976, 'fraction_numerical': 0.01027190332326284, 'mean_word_length': 4.830985915492958, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4593916', 'n_tokens_mistral': 618, 'n_tokens_neox': 622, 'n_words': 145}