<commit_before># Base image with Java and Maven
#
# VERSION       1

FROM thefactory/base

MAINTAINER <NAME> <EMAIL>

# Install Java and maven
RUN apt-get -y install openjdk-7-jdk maven
RUN ln -s /usr/lib/jvm/java-1.7.0-openjdk-amd64/jre/lib/amd64/server/libjvm.so /usr/lib/libjvm.so<commit_msg>Set JVM DNS cache TTL to 60 seconds<commit_after># Base image with Java and Maven
#
# VERSION       1

FROM thefactory/base

MAINTAINER <NAME> <EMAIL>

# Install Java and maven
RUN apt-get -y install openjdk-7-jdk maven
RUN ln -s /usr/lib/jvm/java-1.7.0-openjdk-amd64/jre/lib/amd64/server/libjvm.so /usr/lib/libjvm.so

# Default DNS cache TTL is -1. DNS records, like, change, man.
RUN grep '^networkaddress.cache.ttl=' /etc/java-7-openjdk/security/java.security || echo 'networkaddress.cache.ttl=60' >> /etc/java-7-openjdk/security/java.security
{'fraction_non_alphanumeric': 0.12841854934601665, 'fraction_numerical': 0.029726516052318668, 'mean_word_length': 3.6519337016574585, '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': '1583159', 'n_tokens_mistral': 349, 'n_tokens_neox': 335, 'n_words': 82}