<commit_before>FROM docker.elastic.co/elasticsearch/elasticsearch:7.15.1
ARG BUILD_DATE

LABEL org.label-schema.build-date="$BUILD_DATE" \
      org.label-schema.name="Zammad" \
      org.label-schema.license="AGPL-3.0" \
      org.label-schema.description="Docker container for Zammad - Elasticsearch" \
      org.label-schema.url="https://zammad.org" \
      org.label-schema.vcs-url="https://github.com/zammad/zammad" \
      org.label-schema.vcs-type="Git" \
      org.label-schema.vendor="Zammad" \
      org.label-schema.schema-version="5.0.1" \
      org.label-schema.docker.cmd="sysctl -w vm.max_map_count=262144;docker-compose up"

SHELL ["/bin/bash", "-e", "-o", "pipefail", "-c"]

RUN /usr/share/elasticsearch/bin/elasticsearch-plugin install --batch ingest-attachment<commit_msg>Maintenance: Raise Elasticsearch version to 7.16.1 to mitgitate log4j (#262)<commit_after>FROM docker.elastic.co/elasticsearch/elasticsearch:7.16.1
ARG BUILD_DATE

LABEL org.label-schema.build-date="$BUILD_DATE" \
      org.label-schema.name="Zammad" \
      org.label-schema.license="AGPL-3.0" \
      org.label-schema.description="Docker container for Zammad - Elasticsearch" \
      org.label-schema.url="https://zammad.org" \
      org.label-schema.vcs-url="https://github.com/zammad/zammad" \
      org.label-schema.vcs-type="Git" \
      org.label-schema.vendor="Zammad" \
      org.label-schema.schema-version="5.0.1" \
      org.label-schema.docker.cmd="sysctl -w vm.max_map_count=262144;docker-compose up"

SHELL ["/bin/bash", "-e", "-o", "pipefail", "-c"]

RUN /usr/share/elasticsearch/bin/elasticsearch-plugin install --batch ingest-attachment
{'fraction_non_alphanumeric': 0.16778115501519758, 'fraction_numerical': 0.023100303951367782, 'mean_word_length': 3.4486486486486485, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6602050', 'n_tokens_mistral': 609, 'n_tokens_neox': 581, 'n_words': 74}