<commit_before># NAME:    skylark/elasticsearch
# VERSION: 5.6.3-alpine
FROM elasticsearch:5.6.3-alpine

MAINTAINER <NAME> '<EMAIL>'

ADD https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v5.6.3/elasticsearch-analysis-ik-5.6.3.zip /tmp/
RUN /usr/share/elasticsearch/bin/elasticsearch-plugin install file:///tmp/elasticsearch-analysis-ik-5.6.3.zip

RUN rm -rf /tm/*<commit_msg>Use ARG to declare version<commit_after># NAME:    skylark/elasticsearch

ARG VERSION=5.6.3
FROM elasticsearch:${VERSION}-alpine

MAINTAINER <NAME> '<EMAIL>'

ADD https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v$VERSION/elasticsearch-analysis-ik-$VERSION.zip /tmp/
RUN /usr/share/elasticsearch/bin/elasticsearch-plugin install file:///tmp/elasticsearch-analysis-ik-$VERSION.zip

RUN rm -rf /tm/*
{'fraction_non_alphanumeric': 0.15270935960591134, 'fraction_numerical': 0.022167487684729065, 'mean_word_length': 4.645833333333333, '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': '439560', 'n_tokens_mistral': 286, 'n_tokens_neox': 287, 'n_words': 45}