<commit_before>FROM alpine:latest
MAINTAINER interro_gator

RUN apk add --update \
    python3 \
    python-dev \
    py-pip \
    build-base \
    git \
    libpng \
    freetype \
    pkgconf \
    libxft-dev

RUN apk --update add openjdk8-jre-base

RUN pip install --upgrade pip

RUN rm -rf /var/cache/apk/*

RUN git clone git://github.com/matplotlib/matplotlib.git
RUN cd matplotlib && python setup.py install && cd ..

RUN git clone https://github.com/interrogator/corpkit
RUN pip install -r corpkit/requirements.txt

RUN python -m corpkit.download.corenlp
CMD python -m corpkit.env<commit_msg>try with cython and numpy<commit_after>FROM alpine:latest
MAINTAINER interro_gator

RUN apk add --update \
    python3 \
    python-dev \
    py-pip \
    build-base \
    git \
    libpng \
    freetype \
    pkgconf \
    libxft-dev

RUN apk --update add openjdk8-jre-base

RUN pip install --upgrade pip
RUN pip install cython
RUN pip install numpy

RUN rm -rf /var/cache/apk/*

RUN git clone git://github.com/matplotlib/matplotlib.git
RUN cd matplotlib && python setup.py install && cd ..

RUN git clone https://github.com/interrogator/corpkit
RUN pip install -r corpkit/requirements.txt

RUN python -m corpkit.download.corenlp
CMD python -m corpkit.env
{'fraction_non_alphanumeric': 0.09402390438247012, 'fraction_numerical': 0.0031872509960159364, 'mean_word_length': 2.7492537313432837, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '588359', 'n_tokens_mistral': 451, 'n_tokens_neox': 430, 'n_words': 129}