<commit_before>FROM airhacks/java
LABEL maintainer="<NAME>, <EMAIL>" description="ElasticSearch"
RUN useradd elasticsearch
ENV INSTALL_DIR /home/elasticsearch
ENV VERSION 7.6.1
USER elasticsearch
WORKDIR /home/elasticsearch
RUN curl -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${VERSION}-linux-x86_64.tar.gz \
    && tar xvf elasticsearch-${VERSION}-linux-x86_64.tar.gz -C ${INSTALL_DIR}
COPY elasticsearch.yml elasticsearch-${VERSION}/config
ENTRYPOINT ${INSTALL_DIR}/elasticsearch-${VERSION}/bin/elasticsearch
EXPOSE 9200 9300<commit_msg>elastic version updated<commit_after>FROM airhacks/java
LABEL maintainer="<NAME>, <EMAIL>" description="ElasticSearch"
RUN useradd elasticsearch
ENV INSTALL_DIR /home/elasticsearch
ENV VERSION 7.12.1
USER elasticsearch
WORKDIR /home/elasticsearch
RUN curl -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${VERSION}-linux-x86_64.tar.gz \
    && tar xvf elasticsearch-${VERSION}-linux-x86_64.tar.gz -C ${INSTALL_DIR}
COPY elasticsearch.yml elasticsearch-${VERSION}/config
ENTRYPOINT ${INSTALL_DIR}/elasticsearch-${VERSION}/bin/elasticsearch
EXPOSE 9200 9300
{'fraction_non_alphanumeric': 0.12073490813648294, 'fraction_numerical': 0.03412073490813648, 'mean_word_length': 6.477124183006536, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2231799', 'n_tokens_mistral': 375, 'n_tokens_neox': 356, 'n_words': 73}