<commit_before>FROM nanobox/base

# generate required directories
RUN mkdir -p /data
RUN mkdir -p /var/nanobox
RUN mkdir -p /data/var/db

# install build and other tools required for engine
RUN curl -s http://pkgsrc.nanobox.io/nanobox/base/Linux/bootstrap.tar.gz | tar -C / -zxf - && \
    echo "http://pkgsrc.nanobox.io/nanobox/base/Linux/" > /data/etc/pkgin/repositories.conf && \
    /data/sbin/pkg_admin rebuild && \
    rm -rf /data/var/db/pkgin && /data/bin/pkgin -y up && \
    /data/bin/pkgin -y in gcc49 build-essential && \
    rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /var/gonano/db/pkgin/cache /data/var/db/pkgin/cache && \
    chown -R gonano /data

RUN /opt/gonano/bin/pkgin -y in shon rsync && \
    rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /var/gonano/db/pkgin/cache /data/var/db/pkgin/cache

# link make to gmake<commit_msg>cleaning up pre-build dockerfile to include only what is necessary<commit_after>FROM nanobox/base

# generate required directories
RUN mkdir -p /data
RUN mkdir -p /var/nanobox
RUN mkdir -p /data/var/db

# install build and other tools required for engine
RUN curl -s http://pkgsrc.nanobox.io/nanobox/base/Linux/bootstrap.tar.gz | tar -C / -zxf - && \
    echo "http://pkgsrc.nanobox.io/nanobox/base/Linux/" > /data/etc/pkgin/repositories.conf && \
    /data/sbin/pkg_admin rebuild && \
    rm -rf /data/var/db/pkgin && /data/bin/pkgin -y up && \
    /data/bin/pkgin -y in gcc49 build-essential && \
    rm -rf /data/var/db/pkgin/cache && \
    chown -R gonano /data

RUN rm -rf /data/var/db/pkgin && /data/bin/pkgin -y up && \
    /opt/gonano/bin/pkgin -y in shon rsync && \
    rm -rf /var/gonano/db/pkgin/cache

# link make to gmake
{'fraction_non_alphanumeric': 0.15964391691394658, 'fraction_numerical': 0.002373887240356083, 'mean_word_length': 2.542016806722689, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, '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': '3265692', 'n_tokens_mistral': 673, 'n_tokens_neox': 637, 'n_words': 158}