<commit_before># Based on https://github.com/druid-io/docker-druid

FROM ubuntu:bionic

RUN apt-get update \
      && apt-get install -y openjdk-8-jdk-headless \
                            postgresql-client \
                            supervisor \
                            git \
                            netcat \
                            curl \
                            wget \
                            python3-pip \
                            maven \
      && pip3 install wheel \
      && pip3 install pyyaml \
      && apt-get clean


WORKDIR /tmp/druid

COPY . .

RUN ls -l /usr/lib/jvm/
RUN export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
RUN java -version
RUN mvn clean install -DskipTests -Pdist,bundle-contrib-exts --quiet

CMD ./cmd.sh<commit_msg>even more jvm version hacks<commit_after># Based on https://github.com/druid-io/docker-druid

FROM ubuntu:bionic

RUN apt-get update \
      && apt-get install -y openjdk-8-jdk-headless \
                            postgresql-client \
                            supervisor \
                            git \
                            netcat \
                            curl \
                            wget \
                            python3-pip \
                            maven \
      && pip3 install wheel \
      && pip3 install pyyaml \
      && apt-get clean


WORKDIR /tmp/druid

COPY . .

RUN export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 \
      && java -version \
      && mvn clean install -DskipTests -Pdist,bundle-contrib-exts --quiet

CMD ./cmd.sh
{'fraction_non_alphanumeric': 0.09050064184852374, 'fraction_numerical': 0.008985879332477536, 'mean_word_length': 1.0352480417754568, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3765681', 'n_tokens_mistral': 471, 'n_tokens_neox': 449, 'n_words': 99}