<commit_before>FROM socrata/runit-bionic
LABEL maintainer="Socrata '<EMAIL>'"

ENV DEBIAN_FRONTEND noninteractive

RUN apt-get -y update && \
    apt-get -y install python3.8 python3.8-dev python3-pip

# collectd configuration
COPY collectd.statsd.conf /etc/collectd/conf.d/statsd.conf

# LABEL must be last for proper base image discoverability
LABEL repository.socrata/runit-bionic-python:3.8=""
<commit_msg>runit-bionic-python 3.8 defaults to python 3.8 everywhere (#193)<commit_after>FROM socrata/runit-bionic
LABEL maintainer="Socrata '<EMAIL>'"

ENV DEBIAN_FRONTEND noninteractive

RUN apt-get -y update && \
    apt-get -y purge python2.7 && apt-get -y autoremove --purge && \
    apt-get -y install python3.8 python3.8-dev python3-pip && \
    python3.8 -m pip install -U pip

RUN ln -s /usr/bin/python3.8 /usr/local/bin/python && \
    ln -s /usr/bin/python3.8 /usr/local/bin/python3 && \
    ln -s /usr/bin/pydoc3.8 /usr/local/bin/pydoc && \
    ln -s /usr/bin/pydoc3.8 /usr/local/bin/pydoc3 && \
    ln -s /usr/bin/python3.8-config /usr/local/bin/python-config && \
    ln -s /usr/bin/python3.8-config /usr/local/bin/python3-config

# collectd configuration
COPY collectd.statsd.conf /etc/collectd/conf.d/statsd.conf

# LABEL must be last for proper base image discoverability
LABEL repository.socrata/runit-bionic-python:3.8=""

{'fraction_non_alphanumeric': 0.13582089552238805, 'fraction_numerical': 0.029850746268656716, 'mean_word_length': 3.325806451612903, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1989616', 'n_tokens_mistral': 524, 'n_tokens_neox': 503, 'n_words': 114}