<commit_before>FROM mariadb:10.1

RUN set -x \
    && apt-get update \
    && apt-get install -y --no-install-recommends --no-install-suggests \
      curl \
    && rm -rf /tmp/* /var/cache/apk/* /var/lib/apt/lists/*

COPY conf.d/* /etc/mysql/conf.d/
COPY bin/galera-healthcheck /usr/local/bin/galera-healthcheck
COPY mysqld.sh /usr/local/bin/mysqld.sh
COPY start.sh /usr/local/bin/start.sh

EXPOSE 3306 4444 4567 4567/udp 4568

HEALTHCHECK CMD curl http://localhost:8080/ || exit 1

ENTRYPOINT ["start.sh"]<commit_msg>Fix healthcheck to return errors properly.<commit_after>FROM mariadb:10.1

RUN set -x \
    && apt-get update \
    && apt-get install -y --no-install-recommends --no-install-suggests \
      curl \
    && rm -rf /tmp/* /var/cache/apk/* /var/lib/apt/lists/*

COPY conf.d/* /etc/mysql/conf.d/
COPY bin/galera-healthcheck /usr/local/bin/galera-healthcheck
COPY mysqld.sh /usr/local/bin/mysqld.sh
COPY start.sh /usr/local/bin/start.sh

EXPOSE 3306 4444 4567 4567/udp 4568

HEALTHCHECK CMD curl -f -o - http://localhost:8080/ || exit 1

ENTRYPOINT ["start.sh"]
{'fraction_non_alphanumeric': 0.15627906976744185, 'fraction_numerical': 0.052093023255813956, 'mean_word_length': 2.829181494661922, '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': '1289582', 'n_tokens_mistral': 464, 'n_tokens_neox': 407, 'n_words': 94}