<commit_before>FROM sebp/elk
MAINTAINER <NAME> <<EMAIL>>

ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
    python-dev \
    libffi-dev \
    libssl-dev \
    python-pip \
    git \
    wget
#Need newer version of jq
WORKDIR /usr/bin
RUN wget https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux64 && mv jq-linux64 jq && chmod +x jq
#pip set in 7.1.2
# Easy installing pip since there is a problem with the pip version currently available from apt.
RUN easy_install pip==7.1.2
#RUN pip install pip==7.1.2
#RUN pip install --upgrade pip
#Avoid the warning of https
RUN pip install --upgrade ndg-httpsclient
RUN pip install appdeps
ENV SFM_REQS release
ENV DEBUG false
ADD https://raw.githubusercontent.com/gwu-libraries/sfm-utils/master/docker/base/setup_reqs.sh /opt/sfm-setup/
ADD docker/start.sh /usr/local/bin/sfm_elk_start.sh
RUN chmod +x /usr/local/bin/sfm_elk_start.sh

ADD . /opt/sfm-elk/
WORKDIR /opt/sfm-elk
RUN pip install -r requirements/common.txt -r requirements/release.txt

ENTRYPOINT ["/usr/local/bin/sfm_elk_start.sh"]<commit_msg>refs sfm 458. Fixes ELK startup.<commit_after>FROM sebp/elk
MAINTAINER <NAME> <<EMAIL>>

ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
    python-dev \
    libffi-dev \
    libssl-dev \
    python-pip \
    git \
    wget
#Need newer version of jq
WORKDIR /usr/bin
RUN wget https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux64 && mv jq-linux64 jq && chmod +x jq
#pip set in 7.1.2
# Easy installing pip since there is a problem with the pip version currently available from apt.
RUN easy_install pip==7.1.2
#RUN pip install pip==7.1.2
#RUN pip install --upgrade pip
#Avoid the warning of https
RUN pip install --upgrade ndg-httpsclient
RUN pip install appdeps
ENV SFM_REQS release
ENV DEBUG false
ADD https://raw.githubusercontent.com/gwu-libraries/sfm-utils/master/docker/base/setup_reqs.sh /opt/sfm-setup/
RUN chmod +x /opt/sfm-setup/setup_reqs.sh
ADD docker/start.sh /usr/local/bin/sfm_elk_start.sh
RUN chmod +x /usr/local/bin/sfm_elk_start.sh

ADD . /opt/sfm-elk/
WORKDIR /opt/sfm-elk
RUN pip install -r requirements/common.txt -r requirements/release.txt

ENTRYPOINT ["/usr/local/bin/sfm_elk_start.sh"]
{'fraction_non_alphanumeric': 0.11324119482835489, 'fraction_numerical': 0.014712438698172091, 'mean_word_length': 3.588957055214724, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 4, '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': '1810315', 'n_tokens_mistral': 868, 'n_tokens_neox': 829, 'n_words': 228}