<commit_before># Dockerfile for building Ansible image + sshd for CentOS 7
#

FROM stackio/centos7-sshd

MAINTAINER <NAME> <<EMAIL>>

ENV ANSIBLE_VERSION 1.9.4

RUN echo "===> Installing epel..."        && \
    yum -y install epel-release  && \

    echo "===> Installing ansible dependencies..." && \
    yum -y install sudo python-pip python-pycrypto python-devel gcc git && \
    pip install -U pip                   && \

    echo "===> Installing ansible..."    && \
    pip install ansible==${ANSIBLE_VERSION}  && \

    echo "===> Disabling sudo 'requiretty' setting..."    && \
    sed -i -e 's/^\(Defaults\s*requiretty\)/#--- \1/'  /etc/sudoers   && \
    echo 'Defaults        env_keep += "http_proxy https_proxy HTTP_PROXY HTTPS_PROXY"' >> /etc/sudoers && \

    echo "===> Removing YUM build resources..."   && \
    yum -y remove epel-release gcc python-devel && \
    yum clean all

CMD ["/run.sh"]
<commit_msg>Upgrade to ansible 1.9.5<commit_after># Dockerfile for building Ansible image + sshd for CentOS 7
#

FROM stackio/centos7-sshd

MAINTAINER <NAME> <<EMAIL>>

ENV ANSIBLE_VERSION 1.9.5

RUN echo "===> Installing epel..."        && \
    yum -y install epel-release  && \

    echo "===> Installing ansible dependencies..." && \
    yum -y install sudo python-pip python-pycrypto python-devel gcc git && \
    pip install -U pip                   && \

    echo "===> Installing ansible..."    && \
    pip install ansible==${ANSIBLE_VERSION}  && \

    echo "===> Disabling sudo 'requiretty' setting..."    && \
    sed -i -e 's/^\(Defaults\s*requiretty\)/#--- \1/'  /etc/sudoers   && \
    echo 'Defaults        env_keep += "http_proxy https_proxy HTTP_PROXY HTTPS_PROXY"' >> /etc/sudoers && \

    echo "===> Removing YUM build resources..."   && \
    yum -y remove epel-release gcc python-devel && \
    yum clean all

CMD ["/run.sh"]

{'fraction_non_alphanumeric': 0.16317767042404724, 'fraction_numerical': 0.008051529790660225, 'mean_word_length': 2.316725978647687, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 23, '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': '3927735', 'n_tokens_mistral': 671, 'n_tokens_neox': 619, 'n_words': 171}