<commit_before>FROM alpine

MAINTAINER amazee.io
ENV BACKUPS_DIR="/mnt/backups"

RUN touch /amazeeio

RUN apk add --update --no-cache bash ca-certificates curl gzip tar unzip wget && rm -rf /var/cache/apk/*
RUN apk add --update --no-cache mariadb-client mariadb mariadb-common pwgen && rm -rf /var/cache/apk/*

RUN set -xe; \
    mkdir -p      /var/run/mysqld /var/lib/mysql /etc/mysql /etc/mysql/conf.d /etc/mysql/ "${BACKUPS_DIR}"; \
    chgrp -R root /var/run/mysqld /var/lib/mysql /etc/mysql /etc/mysql/conf.d /etc/mysql/ "${BACKUPS_DIR}"; \
    chmod 770     /var/run/mysqld /var/lib/mysql /etc/mysql /etc/mysql/conf.d /etc/mysql/ "${BACKUPS_DIR}";

# USER mysql

COPY docker-entrypoint.sh /
COPY my.cnf /etc/mysql/my.cnf



WORKDIR /var/lib/mysql
VOLUME /var/lib/mysql
EXPOSE 3306

ENTRYPOINT ["/docker-entrypoint.sh"]<commit_msg>remove which image detector and redundant busybox tools.<commit_after>FROM alpine

MAINTAINER amazee.io
ENV BACKUPS_DIR="/mnt/backups"

RUN apk add --no-cache mariadb-client mariadb mariadb-common pwgen && rm -rf /var/cache/apk/*

RUN set -xe; \
    mkdir -p      /var/run/mysqld /var/lib/mysql /etc/mysql /etc/mysql/conf.d /etc/mysql/ "${BACKUPS_DIR}"; \
    chgrp -R root /var/run/mysqld /var/lib/mysql /etc/mysql /etc/mysql/conf.d /etc/mysql/ "${BACKUPS_DIR}"; \
    chmod 770     /var/run/mysqld /var/lib/mysql /etc/mysql /etc/mysql/conf.d /etc/mysql/ "${BACKUPS_DIR}";

# USER mysql

COPY docker-entrypoint.sh /
COPY my.cnf /etc/mysql/my.cnf



WORKDIR /var/lib/mysql
VOLUME /var/lib/mysql
EXPOSE 3306

ENTRYPOINT ["/docker-entrypoint.sh"]
{'fraction_non_alphanumeric': 0.15569620253164557, 'fraction_numerical': 0.008860759493670886, 'mean_word_length': 2.992424242424242, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5376190', 'n_tokens_mistral': 668, 'n_tokens_neox': 635, 'n_words': 145}