<commit_before># Dev environment
#
# Makes a virtualenv at /venv which might need updating but should
# have a good base of dependencies.
#
# 420fd03947ad


FROM ubuntu:trusty

ADD requirements.txt /requirements.txt

RUN apt-get update -y && \
    apt-get install -y software-properties-common && \
    apt-add-repository -y ppa:ubuntugis/ubuntugis-unstable && \
    apt-get update -y && \
    apt-get install -y  libgdal-dev=1.11* \
                        python-pip \
                        python-virtualenv \
                        git \
                        python-gdal \
                        libgdal1-dev \
                        libncurses5-dev \
                        python-psycopg2 \
                        python-dev && \
    virtualenv venv && \
    ln -snf /bin/bash /bin/sh && \
    source venv/bin/activate && \
    pip install -r /requirements.txt

CMD ["/bin/bash"]
<commit_msg>Split command so that next RUN uses bash<commit_after># Dev environment
#
# Makes a virtualenv at /venv which might need updating but should
# have a good base of dependencies.
#
# 420fd03947ad


FROM ubuntu:trusty

ADD requirements.txt /requirements.txt

RUN apt-get update -y && \
    apt-get install -y software-properties-common && \
    apt-add-repository -y ppa:ubuntugis/ubuntugis-unstable && \
    apt-get update -y && \
    apt-get install -y  libgdal-dev=1.11* \
                        python-pip \
                        python-virtualenv \
                        git \
                        python-gdal \
                        libgdal1-dev \
                        libncurses5-dev \
                        python-psycopg2 \
                        python-dev && \
    virtualenv venv && \
    ln -snf /bin/bash /bin/sh

RUN source venv/bin/activate && \
    pip install -r /requirements.txt

CMD ["/bin/bash"]

{'fraction_non_alphanumeric': 0.09624796084828711, 'fraction_numerical': 0.015225666122892877, 'mean_word_length': 1.3989569752281616, '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': '7404034', 'n_tokens_mistral': 581, 'n_tokens_neox': 524, 'n_words': 140}