<commit_before># Copyright 2015-2016 Yelp Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

FROM ubuntu:trusty

ENV DEBIAN_FRONTEND=noninteractive


RUN echo "deb http://repos.mesosphere.com/ubuntu trusty main" > /etc/apt/sources.list.d/mesosphere.list && \
    apt-key adv --keyserver keyserver.ubuntu.com --recv <KEY>

RUN apt-get update > /dev/null && apt-get install -y --no-install-recommends \
        curl \
        debhelper \
        dpkg-dev \
        gcc \
        gdebi-core \
        git \
        help2man \
        libffi-dev \
        libssl-dev \
        libyaml-dev \
        pyflakes \
        python-dev \
        python-pip \
        python-pytest \
        python-setuptools \
        python-tox \
        python-yaml \
        wget \
        zip \
        zsh > /dev/null \
    && apt-get clean > /dev/null

RUN cd /tmp && \
    wget http://mirrors.kernel.org/ubuntu/pool/universe/d/dh-virtualenv/dh-virtualenv_1.0-1_all.deb && \
    gdebi -n dh-virtualenv*.deb && \
    rm dh-virtualenv_*.deb

RUN pip install --upgrade virtualenv==15.1.0

ADD mesos-slave-secret /etc/mesos-slave-secret

WORKDIR /work

RUN mkdir -p /nail/etc/
<commit_msg>Trusty python3.6<commit_after># Copyright 2015-2016 Yelp Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

FROM ubuntu:trusty

ENV DEBIAN_FRONTEND=noninteractive


RUN echo "deb http://repos.mesosphere.com/ubuntu trusty main" > /etc/apt/sources.list.d/mesosphere.list && \
    apt-key adv --keyserver keyserver.ubuntu.com --recv <KEY>

# Need Python 3.6
RUN apt-get update > /dev/null
RUN apt-get install -y --no-install-recommends software-properties-common
RUN add-apt-repository ppa:fkrull/deadsnakes

RUN apt-get update > /dev/null && apt-get install -y --no-install-recommends \
        curl \
        debhelper \
        dpkg-dev \
        gcc \
        gdebi-core \
        git \
        help2man \
        libffi-dev \
        libssl-dev \
        libyaml-dev \
        pyflakes \
        python3.6 \
        python3.6-dev \
        python-dev \
        python-pip \
        python-pytest \
        python-setuptools \
        python-tox \
        python-yaml \
        wget \
        zip \
        zsh > /dev/null \
    && apt-get clean > /dev/null

RUN cd /tmp && \
    wget http://mirrors.kernel.org/ubuntu/pool/universe/d/dh-virtualenv/dh-virtualenv_1.0-1_all.deb && \
    gdebi -n dh-virtualenv*.deb && \
    rm dh-virtualenv_*.deb

RUN pip install --upgrade virtualenv==15.1.0

ADD mesos-slave-secret /etc/mesos-slave-secret

WORKDIR /work

RUN mkdir -p /nail/etc/

{'fraction_non_alphanumeric': 0.10547095318668923, 'fraction_numerical': 0.01353637901861252, 'mean_word_length': 2.242230347349177, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 14, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '4543910', 'n_tokens_mistral': 1185, 'n_tokens_neox': 1119, 'n_words': 331}