<commit_before>FROM ruby
MAINTAINER <NAME> <<EMAIL>>

# Install fluentd
RUN export DEBIAN_FRONTEND='noninteractive' && \
    apt-get update -qq && \
    apt-get install -qqy --no-install-recommends libcurl4-openssl-dev make \
                $(apt-get -s dist-upgrade|awk '/^Inst.*ecurity/ {print $2}') &&\
    gem install fluentd && \
    fluent-gem install fluent-plugin-elasticsearch && \
    fluent-gem install fluent-plugin-record-reformer && \
    apt-get clean && \
    rm -rf /var/lib/apt/lists/* /tmp/*
COPY fluent.conf /etc/fluent/
COPY fluent.sh /usr/bin/

EXPOSE 5140/udp

ENTRYPOINT ["fluent.sh"]<commit_msg>Dockerfile setup volumes<commit_after>FROM ruby
MAINTAINER <NAME> <<EMAIL>>

# Install fluentd
RUN export DEBIAN_FRONTEND='noninteractive' && \
    apt-get update -qq && \
    apt-get install -qqy --no-install-recommends libcurl4-openssl-dev make \
                $(apt-get -s dist-upgrade|awk '/^Inst.*ecurity/ {print $2}') &&\
    gem install fluentd && \
    fluent-gem install fluent-plugin-elasticsearch && \
    fluent-gem install fluent-plugin-record-reformer && \
    apt-get clean && \
    rm -rf /var/lib/apt/lists/* /tmp/*
COPY fluent.conf /etc/fluent/
COPY fluent.sh /usr/bin/

VOLUME ["/run", "/tmp", "/var/cache", "/var/lib", "/var/log", "/var/tmp"]

EXPOSE 5140/udp

ENTRYPOINT ["fluent.sh"]
{'fraction_non_alphanumeric': 0.16340361445783133, 'fraction_numerical': 0.009036144578313253, 'mean_word_length': 2.8746355685131197, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '2669532', 'n_tokens_mistral': 495, 'n_tokens_neox': 474, 'n_words': 108}