<commit_before>FROM maven:3-jdk-8
MAINTAINER <NAME> "<EMAIL>"

WORKDIR /var/app

RUN git clone https://github.com/rakam-io/rakam.git
RUN cd rakam && mvn install -DskipTests

RUN echo 'org.rakam=INFO\n\
io.netty=INFO' > log.properties

RUN env | grep RAKAM_ | awk  '{gsub(/\_/,".",$0); print substr(tolower($0), 8)}' > config.properties

RUN [ -s config.properties ] || apt-get update
p							    # Rakam can automatically download & extract the database but we do this
							    # at compile time of the container because it increases the start time of the containers.
							    && wget -P /tmp http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz \
							    && gzip -d /tmp/GeoLite2-City.mmdb.gz \
							    && echo "store.adapter=postgresql\n\<commit_msg>fix invalid code in docker file<commit_after>FROM maven:3-jdk-8
MAINTAINER <NAME> "<EMAIL>"

WORKDIR /var/app

RUN git clone https://github.com/rakam-io/rakam.git
RUN cd rakam && mvn install -DskipTests

RUN echo 'org.rakam=INFO\n\
io.netty=INFO' > log.properties

RUN env | grep RAKAM_ | awk  '{gsub(/\_/,".",$0); print substr(tolower($0), 8)}' > config.properties

RUN [ -s config.properties ] || apt-get update
							    # Rakam can automatically download & extract the database but we do this
							    # at compile time of the container because it increases the start time of the containers.
							    && wget -P /tmp http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz \
							    && gzip -d /tmp/GeoLite2-City.mmdb.gz \
							    && echo "store.adapter=postgresql\n\
{'fraction_non_alphanumeric': 0.13282732447817835, 'fraction_numerical': 0.008855154965211892, 'mean_word_length': 2.9353233830845773, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4167536', 'n_tokens_mistral': 624, 'n_tokens_neox': 533, 'n_words': 149}