<commit_before>FROM totem/python-base:3.4-trusty-b2

ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update --fix-missing && apt-get install -y \
        libyaml-dev \
        libffi-dev \
    && apt-get clean \
    && rm -rf /var/cache/apt/archives/* /var/lib/apt/lists/*

ADD requirements.txt /opt/requirements.txt
RUN pip3 install -r /opt/requirements.txt

ADD . /opt/yoda-discover
RUN pip3 install -r /opt/yoda-discover/requirements.txt

ENV ETCD_BASE /yoda
ENV DOCKER_URL http://172.17.42.1:4243
ENV ETC_HOST 172.17.42.1
ENV ETCD_PORT 4001
ENV PROXY_HOST 172.17.42.1

WORKDIR /opt/yoda-discover
ENTRYPOINT ["/usr/bin/python3","-m"]
CMD ["discover.docker_poller"]
<commit_msg>Upgrade python base image<commit_after>FROM totem/python-base:3.4-trusty-b3

ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update --fix-missing && apt-get install -y \
        libyaml-dev \
    && apt-get clean \
    && rm -rf /var/cache/apt/archives/* /var/lib/apt/lists/*

ADD requirements.txt /opt/requirements.txt
RUN pip3 install -r /opt/requirements.txt

ADD . /opt/yoda-discover
RUN pip3 install -r /opt/yoda-discover/requirements.txt

ENV ETCD_BASE /yoda
ENV DOCKER_URL http://172.17.42.1:4243
ENV ETC_HOST 172.17.42.1
ENV ETCD_PORT 4001
ENV PROXY_HOST 172.17.42.1

WORKDIR /opt/yoda-discover
ENTRYPOINT ["/usr/bin/python3","-m"]
CMD ["discover.docker_poller"]

{'fraction_non_alphanumeric': 0.13471502590673576, 'fraction_numerical': 0.056254626202812734, 'mean_word_length': 3.305732484076433, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 6, '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': '6660463', 'n_tokens_mistral': 571, 'n_tokens_neox': 530, 'n_words': 114}