<commit_before>FROM mono
MAINTAINER <NAME> <<EMAIL>>

RUN apt-get update
RUN apt-get install -y wget git dos2unix

RUN nuget update -self

WORKDIR /

RUN git clone https://github.com/SparkPost/csharp-sparkpost.git

WORKDIR /csharp-sparkpost/src
<commit_msg>Nuget with mono seems to hang while restoring packages. This solution from https://github.com/aspnet/dnx/issues/1590#issuecomment-138282251 seems to fix it.<commit_after>FROM mono
MAINTAINER <NAME> <<EMAIL>>

RUN apt-get update
RUN apt-get install -y wget git dos2unix

RUN nuget update -self

ENV MONO_THREADS_PER_CPU 2000

WORKDIR /

RUN git clone https://github.com/SparkPost/csharp-sparkpost.git

WORKDIR /csharp-sparkpost/src

{'fraction_non_alphanumeric': 0.09011627906976744, 'fraction_numerical': 0.027616279069767442, 'mean_word_length': 4.512, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 3, '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': '574511', 'n_tokens_mistral': 263, 'n_tokens_neox': 236, 'n_words': 71}