<commit_before>FROM samsara/base-image-jdk8:u1410-j8u40

MAINTAINER Samsara's team (https://github.com/samsara/samsara-docker-images)

#
# Kafka installation
#
ENV ELS_VERSION 1.6.2


RUN wget -nv "https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-${ELS_VERSION}.deb" -O /tmp/els.deb && \
    dpkg -i /tmp/els.deb && \
    rm -fr /tmp/els.deb && \
    mv /etc/elasticsearch/elasticsearch.yml /etc/elasticsearch/elasticsearch.yml.orig


VOLUME ["/data", "/logs"]

ADD ./elasticsearch.yml.min  /etc/elasticsearch/elasticsearch.yml

## maybe need to install cloud plugins as well
RUN /usr/share/elasticsearch/bin/plugin -install royrusso/elasticsearch-HQ && \
    /usr/share/elasticsearch/bin/plugin -install mobz/elasticsearch-head && \
    /usr/share/elasticsearch/bin/plugin -install lmenezes/elasticsearch-kopf && \
    /usr/share/elasticsearch/bin/plugin -url https://github.com/grmblfrz/elasticsearch-zookeeper/releases/download/v1.6.1/elasticsearch-zookeeper-1.6.1.zip -install zookeeper

ADD ./elasticsearch.yml.tmpl  /etc/elasticsearch/elasticsearch.yml.tmpl
ADD ./els-supervisor.conf.tmpl /etc/supervisor/conf.d/els-supervisor.conf.tmpl
ADD ./configure-and-start.sh /configure-and-start.sh

# expose client port, peer port and supervisord port
EXPOSE 9200 9300 15000
<commit_msg>initial work on els/aws plugin<commit_after>FROM samsara/base-image-jdk8:u1410-j8u40

MAINTAINER Samsara's team (https://github.com/samsara/samsara-docker-images)

#
# Kafka installation
#
ENV ELS_VERSION 1.6.2


RUN wget -nv "https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-${ELS_VERSION}.deb" -O /tmp/els.deb && \
    dpkg -i /tmp/els.deb && \
    rm -fr /tmp/els.deb && \
    mv /etc/elasticsearch/elasticsearch.yml /etc/elasticsearch/elasticsearch.yml.orig


VOLUME ["/data", "/logs"]

ADD ./elasticsearch.yml.min  /etc/elasticsearch/elasticsearch.yml

## maybe need to install cloud plugins as well
RUN /usr/share/elasticsearch/bin/plugin -install royrusso/elasticsearch-HQ && \
    /usr/share/elasticsearch/bin/plugin -install mobz/elasticsearch-head && \
    /usr/share/elasticsearch/bin/plugin -install lmenezes/elasticsearch-kopf && \
    /usr/share/elasticsearch/bin/plugin -install elasticsearch/elasticsearch-cloud-aws/2.6.1 && \
    /usr/share/elasticsearch/bin/plugin -url https://github.com/grmblfrz/elasticsearch-zookeeper/releases/download/v1.6.1/elasticsearch-zookeeper-1.6.1.zip -install zookeeper

ADD ./elasticsearch.yml.tmpl  /etc/elasticsearch/elasticsearch.yml.tmpl
ADD ./els-supervisor.conf.tmpl /etc/supervisor/conf.d/els-supervisor.conf.tmpl
ADD ./configure-and-start.sh /configure-and-start.sh

# expose client port, peer port and supervisord port
EXPOSE 9200 9300 15000

{'fraction_non_alphanumeric': 0.13717621306092667, 'fraction_numerical': 0.022984312294782927, 'mean_word_length': 3.8617021276595747, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '747637', 'n_tokens_mistral': 973, 'n_tokens_neox': 951, 'n_words': 159}