<commit_before>#FROM registry.access.redhat.com/rhscl/python-27-rhel7
FROM docker.io/centos/python-27-centos7:latest

LABEL Name="elastoplast-base (docker.io/centos/python-27-centos7:latest)" \
    Vendor="com.garethahealy" \
    Version="latest" \
    License="Apache License, Version 2.0"

USER root

# Install python dev tools
RUN yum install -y gcc kernel-devel make python-devel python-setuptools

# Create user
RUN groupadd -r elastalert -g 1000 && \
    useradd -u 1000 -r -g elastalert -m -d /deployments -s /sbin/nologin -c "elastalert user" elastalert

# Upgrade pip
RUN cd /deployments \
    && easy_install -U pip \
    && easy_install -U setuptools \
    && pip install --user --upgrade pip
<commit_msg>Added yum clean<commit_after>#FROM registry.access.redhat.com/rhscl/python-27-rhel7
FROM docker.io/centos/python-27-centos7:latest

LABEL Name="elastoplast-base (docker.io/centos/python-27-centos7:latest)" \
    Vendor="com.garethahealy" \
    Version="latest" \
    License="Apache License, Version 2.0"

USER root

# Install python dev tools
RUN yum install -y gcc kernel-devel make python-devel python-setuptools && \
    yum clean all

# Create user
RUN groupadd -r elastalert -g 1000 && \
    useradd -u 1000 -r -g elastalert -m -d /deployments -s /sbin/nologin -c "elastalert user" elastalert

# Upgrade pip
RUN cd /deployments \
    && easy_install -U pip \
    && easy_install -U setuptools \
    && pip install --user --upgrade pip

{'fraction_non_alphanumeric': 0.11736444749485243, 'fraction_numerical': 0.02608098833218943, 'mean_word_length': 3.275659824046921, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '296636', 'n_tokens_mistral': 548, 'n_tokens_neox': 503, 'n_words': 139}