<commit_before>FROM ruby:2.3.1-alpine

RUN apk --no-cache --update add build-base ruby-dev libxml2-dev postgresql-dev libcurl git

RUN adduser -D -h /home/crawler -g "DaimonSkycrawlers user" -s /bin/sh crawler crawler

ARG SKYCRAWLERS_ENV=production
ARG SKYCRAWLERS_MAIN=crawler
ENV SKYCRAWLERS_ENV=$SKYCRAWLERS_ENV \
    SKYCRAWLERS_MAIN=$SKYCRAWLERS_MAIN \
    BUNDLE_JOBS=4 \
    DOCKERIZE_VERSION=v0.3.0

RUN wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
    && tar -C /usr/local/bin -xzvf dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz \<commit_msg>Install openssl to support `wget https://...`<commit_after>FROM ruby:2.3.1-alpine

RUN apk --no-cache --update add build-base ruby-dev libxml2-dev postgresql-dev libcurl openssl git

RUN adduser -D -h /home/crawler -g "DaimonSkycrawlers user" -s /bin/sh crawler crawler

ARG SKYCRAWLERS_ENV=production
ARG SKYCRAWLERS_MAIN=crawler
ENV SKYCRAWLERS_ENV=$SKYCRAWLERS_ENV \
    SKYCRAWLERS_MAIN=$SKYCRAWLERS_MAIN \
    BUNDLE_JOBS=4 \
    DOCKERIZE_VERSION=v0.3.0

RUN wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
    && tar -C /usr/local/bin -xzvf dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
{'fraction_non_alphanumeric': 0.11398176291793313, 'fraction_numerical': 0.0182370820668693, 'mean_word_length': 4.310483870967742, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5524213', 'n_tokens_mistral': 576, 'n_tokens_neox': 526, 'n_words': 90}