<commit_before>FROM python:2.7.17-alpine3.11

WORKDIR /home

COPY requirements_dev.txt .

RUN apk add gcc py-pip python-dev libffi-dev openssl-dev gcc libc-dev make

RUN python -m pip install psutil subprocess32
RUN pip install -r requirements_dev.txt
RUN apk --no-cache add ca-certificates wget && \
  wget -q -O /etc/apk/keys/sgerrand.rsa.pub  https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub && \
  wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.25-r0/glibc-2.25-r0.apk && \
  wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.25-r0/glibc-bin-2.25-r0.apk && \
  wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.25-r0/glibc-i18n-2.25-r0.apk && \
  apk add glibc-bin-2.25-r0.apk glibc-i18n-2.25-r0.apk glibc-2.25-r0.apk


RUN ln -sf /usr/glibc-compat/bin/locale /usr/local/bin/locale<commit_msg>Tweaked the run script<commit_after>FROM python:2.7.17-alpine3.11

WORKDIR /home

COPY requirements_dev.txt .

RUN apk add gcc py-pip python-dev libffi-dev openssl-dev gcc libc-dev make

RUN python -m pip install psutil subprocess32
RUN pip install -r requirements_dev.txt
RUN apk --no-cache add ca-certificates wget && \
  wget -q -O /etc/apk/keys/sgerrand.rsa.pub  https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub && \
  wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.25-r0/glibc-2.25-r0.apk && \
  wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.25-r0/glibc-bin-2.25-r0.apk && \
  wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.25-r0/glibc-i18n-2.25-r0.apk && \
  apk add glibc-bin-2.25-r0.apk glibc-i18n-2.25-r0.apk glibc-2.25-r0.apk


RUN ln -sf /usr/glibc-compat/bin/locale /usr/local/bin/locale

CMD tox -e py27
{'fraction_non_alphanumeric': 0.15503432494279176, 'fraction_numerical': 0.057208237986270026, 'mean_word_length': 3.265853658536585, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5486844', 'n_tokens_mistral': 846, 'n_tokens_neox': 763, 'n_words': 118}