<commit_before>FROM debian:stretch
MAINTAINER <NAME> <<EMAIL>>

ENV DEBIAN_FRONTEND noninteractive

RUN sed -i "s/stretch main/stretch main contrib non-free/" /etc/apt/sources.list && \
    apt-get update && \
    apt-get install -y curl wget locales apt-transport-https python3-pkg-resources gnupg && \
    echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && \
    dpkg-reconfigure locales && \
    echo "deb https://apt.opmu.se/debian-stretch/ master main" > /etc/apt/sources.list.d/opmuse.list && \
    curl -s https://apt.opmu.se/opmuse.pub | apt-key add - && \
    apt-get update && \
    echo "mysql-server mysql-server/root_password password" | debconf-set-selections && \
    echo "mysql-server mysql-server/root_password_again password" | debconf-set-selections && \
    apt-get install -y default-mysql-server && \
    /etc/init.d/mysql start && \
    apt-get install -y opmuse

VOLUME ["/var/lib/mysql", \
        "/etc/opmuse", \
        "/var/cache/opmuse", \
        "/var/log/opmuse"]

COPY scripts/docker-start.sh /home/opmuse/start.sh

ENTRYPOINT ["/home/opmuse/start.sh"]

EXPOSE 8080<commit_msg>Set LC_ALL in docker /root/.bashrc<commit_after>FROM debian:stretch
MAINTAINER <NAME> <<EMAIL>>

ENV DEBIAN_FRONTEND noninteractive

RUN sed -i "s/stretch main/stretch main contrib non-free/" /etc/apt/sources.list && \
    apt-get update && \
    apt-get install -y curl wget locales apt-transport-https python3-pkg-resources gnupg && \
    echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && \
    echo "export LC_ALL=en_US.utf8" >> /root/.bashrc && \
    dpkg-reconfigure locales && \
    echo "deb https://apt.opmu.se/debian-stretch/ master main" > /etc/apt/sources.list.d/opmuse.list && \
    curl -s https://apt.opmu.se/opmuse.pub | apt-key add - && \
    apt-get update && \
    echo "mysql-server mysql-server/root_password password" | debconf-set-selections && \
    echo "mysql-server mysql-server/root_password_again password" | debconf-set-selections && \
    apt-get install -y default-mysql-server && \
    /etc/init.d/mysql start && \
    apt-get install -y opmuse

VOLUME ["/var/lib/mysql", \
        "/etc/opmuse", \
        "/var/cache/opmuse", \
        "/var/log/opmuse"]

COPY scripts/docker-start.sh /home/opmuse/start.sh

ENTRYPOINT ["/home/opmuse/start.sh"]

EXPOSE 8080
{'fraction_non_alphanumeric': 0.15642701525054467, 'fraction_numerical': 0.006535947712418301, 'mean_word_length': 2.763934426229508, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 15, 'https://': 4, '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': '1481963', 'n_tokens_mistral': 860, 'n_tokens_neox': 830, 'n_words': 165}