<commit_before>FROM sillelien/base-alpine:0.10
MAINTAINER <NAME> <<EMAIL>>

ENV BATS_VERSION 0.4.0

## Install System

RUN apk upgrade && apk update && apk add \
        bash \
        curl \
        drill \
        logrotate \
        postfix \
        cyrus-sasl \
    \
    && curl -s -o "/tmp/v${BATS_VERSION}.tar.gz" -L \
        "https://github.com/sstephenson/bats/archive/v${BATS_VERSION}.tar.gz" \
    && tar -xzf "/tmp/v${BATS_VERSION}.tar.gz" -C /tmp/ \
    && bash "/tmp/bats-${BATS_VERSION}/install.sh" /usr/local \
    \
    && rm -rf /var/cache/apk/* && rm -rf /tmp/*

## Configure Service

COPY install/main.dist.cf /etc/postfix/main.cf
COPY install/master.dist.cf /etc/postfix/master.cf

RUN cat /dev/null > /etc/postfix/aliases && newaliases \
    && echo simple-mail-forwarder.com > /etc/hostname \
    \
    && echo test | saslpasswd2 -p <EMAIL> \
    && chown postfix /etc/sasldb2 \
    && saslpasswd2 -d <EMAIL>
<commit_msg>Run apk update before apk upgrade.<commit_after>FROM sillelien/base-alpine:0.10
MAINTAINER <NAME> <<EMAIL>>

ENV BATS_VERSION 0.4.0

## Install System

RUN apk update && apk upgrade && apk add \
        bash \
        curl \
        drill \
        logrotate \
        postfix \
        cyrus-sasl \
    \
    && curl -s -o "/tmp/v${BATS_VERSION}.tar.gz" -L \
        "https://github.com/sstephenson/bats/archive/v${BATS_VERSION}.tar.gz" \
    && tar -xzf "/tmp/v${BATS_VERSION}.tar.gz" -C /tmp/ \
    && bash "/tmp/bats-${BATS_VERSION}/install.sh" /usr/local \
    \
    && rm -rf /var/cache/apk/* && rm -rf /tmp/*

## Configure Service

COPY install/main.dist.cf /etc/postfix/main.cf
COPY install/master.dist.cf /etc/postfix/master.cf

RUN cat /dev/null > /etc/postfix/aliases && newaliases \
    && echo simple-mail-forwarder.com > /etc/hostname \
    \
    && echo test | saslpasswd2 -p <EMAIL> \
    && chown postfix /etc/sasldb2 \
    && saslpasswd2 -d <EMAIL>

{'fraction_non_alphanumeric': 0.16675378985886044, 'fraction_numerical': 0.009409304756926294, 'mean_word_length': 2.132569558101473, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 17, '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': '2421123', 'n_tokens_mistral': 776, 'n_tokens_neox': 745, 'n_words': 145}