<commit_before>FROM python:2.7

ARG REPO_CHECKOUT=
ARG REPO_URL=https://github.com/mozilla/ActiveData
ARG BUILD_URL=https://travis-ci.org/mozilla/ActiveData
ARG HOME=/app
ARG USER=app

WORKDIR $HOME
RUN mkdir -p /etc/dpkg/dpkg.cfg.d \
    &&  echo "path-exclude=/usr/share/locale/*" >> /etc/dpkg/dpkg.cfg.d/excludes \
    &&  echo "path-exclude=/usr/share/man/*" >> /etc/dpkg/dpkg.cfg.d/excludes \
    &&  echo "path-exclude=/usr/share/doc/*" >> /etc/dpkg/dpkg.cfg.d/excludes \
    &&  apt-get -qq update \
    &&  apt-get -y install --no-install-recommends \
        build-essential \
        libffi-dev \
        libssl-dev \
        curl \
        git \
        vim-tiny \
        nano \
        sudo \
        supervisor \
    && rm -rf /var/lib/apt/lists/* /usr/share/doc/* /usr/share/man/* /usr/share/locale/* \
    && git clone $REPO_URL.git $HOME \
    && git checkout $REPO_CHECKOUT \
    && mkdir $HOME/logs \
    && export PYTHONPATH=.:vendor \
    && python -m pip --no-cache-dir install --user -r requirements.txt \
    && python -m pip install gunicorn
    && python resources/docker/version.py

RUN addgroup --gid 10001 $USER \
    && adduser \<commit_msg>fix dockerfile<commit_after>FROM python:2.7

ARG REPO_CHECKOUT=
ARG REPO_URL=https://github.com/mozilla/ActiveData
ARG BUILD_URL=https://travis-ci.org/mozilla/ActiveData
ARG HOME=/app
ARG USER=app

WORKDIR $HOME
RUN mkdir -p /etc/dpkg/dpkg.cfg.d \
    &&  echo "path-exclude=/usr/share/locale/*" >> /etc/dpkg/dpkg.cfg.d/excludes \
    &&  echo "path-exclude=/usr/share/man/*" >> /etc/dpkg/dpkg.cfg.d/excludes \
    &&  echo "path-exclude=/usr/share/doc/*" >> /etc/dpkg/dpkg.cfg.d/excludes \
    &&  apt-get -qq update \
    &&  apt-get -y install --no-install-recommends \
        build-essential \
        libffi-dev \
        libssl-dev \
        curl \
        git \
        vim-tiny \
        nano \
        sudo \
        supervisor \
    && rm -rf /var/lib/apt/lists/* /usr/share/doc/* /usr/share/man/* /usr/share/locale/* \
    && git clone $REPO_URL.git $HOME \
    && git checkout $REPO_CHECKOUT \
    && mkdir $HOME/logs \
    && export PYTHONPATH=.:vendor \
    && python -m pip --no-cache-dir install --user -r requirements.txt \
    && python -m pip install gunicorn \
    && python resources/docker/version.py

RUN addgroup --gid 10001 $USER \
    && adduser \
{'fraction_non_alphanumeric': 0.16417910447761194, 'fraction_numerical': 0.005970149253731343, 'mean_word_length': 2.078740157480315, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, 'https://': 4, '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': '3615294', 'n_tokens_mistral': 903, 'n_tokens_neox': 854, 'n_words': 163}