<commit_before># Copyright 2016 tsuru authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.

FROM tsuru/base-platform
ADD . /var/lib/tsuru/python
RUN cp /var/lib/tsuru/python/deploy /var/lib/tsuru
RUN apt-get update && \
    apt-get install -y make build-essential libssl-dev zlib1g-dev libbz2-dev \
    libreadline-dev libsqlite3-dev curl llvm libncurses5-dev libncursesw5-dev \
    xz-utils tk-dev git && \
    /var/lib/tsuru/python/install && \
    apt-get remove --purge -y libssl-dev zlib1g-dev libbz2-dev \
    libreadline-dev libsqlite3-dev llvm libncurses5-dev libncursesw5-dev \
    tk-dev git && \
    apt-get install -y libssl1.0.0 zlib1g libbz2-1.0 \
    libreadline6 libsqlite3-0 libncurses5 libncursesw5 && \
    apt-get autoremove -y
<commit_msg>python: make default python accessible in image<commit_after># Copyright 2016 tsuru authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.

FROM tsuru/base-platform
ADD . /var/lib/tsuru/python
RUN cp /var/lib/tsuru/python/deploy /var/lib/tsuru
RUN apt-get update && \
    apt-get install -y make build-essential libssl-dev zlib1g-dev libbz2-dev \
    libreadline-dev libsqlite3-dev curl llvm libncurses5-dev libncursesw5-dev \
    xz-utils tk-dev git && \
    /var/lib/tsuru/python/install && \
    apt-get remove --purge -y libssl-dev zlib1g-dev libbz2-dev \
    libreadline-dev libsqlite3-dev llvm libncurses5-dev libncursesw5-dev \
    tk-dev git && \
    apt-get install -y libssl1.0.0 zlib1g libbz2-1.0 \
    libreadline6 libsqlite3-0 libncurses5 libncursesw5 && \
    apt-get autoremove -y
ENV PYENV_ROOT="/var/lib/pyenv"
ENV PATH="$PYENV_ROOT/bin:$PYENV_ROOT/shims:$PATH"
RUN pyenv global 2.7.13

{'fraction_non_alphanumeric': 0.102803738317757, 'fraction_numerical': 0.030786146234194612, 'mean_word_length': 3.1176470588235294, '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': '5241086', 'n_tokens_mistral': 703, 'n_tokens_neox': 679, 'n_words': 180}