<commit_before>FROM serasoft/debian-base:9.9
MAINTAINER <NAME> - <EMAIL>

# Default to UTF-8 file.encoding
ENV LANG=C.UTF-8 \
    JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 \
    PATH=$JAVA_HOME/bin:$PATH

RUN  apt-get update && \
     apt-get install -y openjdk-8-jdk-headless 

# add a simple script that can auto-detect the appropriate JAVA_HOME value
# based on whether the JDK or only the JRE is installed
RUN { \
      echo '#!/bin/sh'; \ 
      echo 'set -e'; \ 
      echo; \
     echo 'dirname "$(dirname "$(readlink -f "$(which javac || which java)")")"'; \
  } > /usr/local/bin/docker-java-home \
  && chmod +x /usr/local/bin/docker-java-home<commit_msg>Minor improvements to try to reduce image size<commit_after>FROM serasoft/debian-base:9.9
MAINTAINER <NAME> - <EMAIL>

# Default to UTF-8 file.encoding
ENV LANG=C.UTF-8 \
    JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 \
    PATH=$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH

RUN  apt-get update && \
     apt-get install --no-install-recommends -y openjdk-8-jdk-headless && \
    rm -rf /var/lib/apt/lists/*

# add a simple script that can auto-detect the appropriate JAVA_HOME value
# based on whether the JDK or only the JRE is installed
RUN { \
      echo '#!/bin/sh'; \ 
      echo 'set -e'; \ 
      echo; \
     echo 'dirname "$(dirname "$(readlink -f "$(which javac || which java)")")"'; \
  } > /usr/local/bin/docker-java-home \
  && chmod +x /usr/local/bin/docker-java-home
{'fraction_non_alphanumeric': 0.15373961218836565, 'fraction_numerical': 0.0110803324099723, 'mean_word_length': 2.8026315789473686, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, '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': '4196951', 'n_tokens_mistral': 572, 'n_tokens_neox': 528, 'n_words': 134}