<commit_before>FROM nanobox/base

# install gcc and build tools
RUN apt-get update -qq && \
    apt-get install -y --no-install-recommends build-essential git rsync openssh-client && \
    apt-get clean all && \
    rm -rf /var/lib/apt/lists/*

# install other tools required for engine
RUN rm -rf /var/gonano/db/pkgin && /opt/gonano/bin/pkgin -y up && \
    /opt/gonano/bin/pkgin -y in nanobox-cli shon mustache && \
    rm -rf /var/gonano/db/pkgin/cache

# add temporary scripts
ADD scripts/. /var/tmp/

# generate build exclude list
ADD files/build-exceptions.txt /var/nanobox/build-exceptions.txt
RUN /var/tmp/generate-build-excludes

# update pkgin remote packages
RUN rm -rf /data/var/db/pkgin && /data/bin/pkgin -y up && \
    rm -rf /data/var/db/pkgin/cache
RUN chown -R gonano /data/var/db/pkgin

# Created necessary directories
RUN mkdir -p /opt/bin

# Copy files
ADD hookit/. /opt/gonano/hookit/mod/
ADD files/opt/bin/. /opt/bin/

# install nos
RUN mkdir -p /opt/nos && \
    curl \
      -k \
      -s \
      -L \
      https://github.com/pagodabox/nanobox-nos/archive/v0.7.5.tar.gz \
        | tar \
            -xzf - \
            --strip-components=1 \
            -C /opt/nos/

# Install engines
RUN /var/tmp/install-engines

# Cleanup disk
RUN rm -rf /tmp/* /var/tmp/*
<commit_msg>Bump NOS version to fix issue with spaces in the boxfile/payload<commit_after>FROM nanobox/base

# install gcc and build tools
RUN apt-get update -qq && \
    apt-get install -y --no-install-recommends build-essential git rsync openssh-client && \
    apt-get clean all && \
    rm -rf /var/lib/apt/lists/*

# install other tools required for engine
RUN rm -rf /var/gonano/db/pkgin && /opt/gonano/bin/pkgin -y up && \
    /opt/gonano/bin/pkgin -y in nanobox-cli shon mustache && \
    rm -rf /var/gonano/db/pkgin/cache

# add temporary scripts
ADD scripts/. /var/tmp/

# generate build exclude list
ADD files/build-exceptions.txt /var/nanobox/build-exceptions.txt
RUN /var/tmp/generate-build-excludes

# update pkgin remote packages
RUN rm -rf /data/var/db/pkgin && /data/bin/pkgin -y up && \
    rm -rf /data/var/db/pkgin/cache
RUN chown -R gonano /data/var/db/pkgin

# Created necessary directories
RUN mkdir -p /opt/bin

# Copy files
ADD hookit/. /opt/gonano/hookit/mod/
ADD files/opt/bin/. /opt/bin/

# install nos
RUN mkdir -p /opt/nos && \
    curl \
      -k \
      -s \
      -L \
      https://github.com/pagodabox/nanobox-nos/archive/v0.7.6.tar.gz \
        | tar \
            -xzf - \
            --strip-components=1 \
            -C /opt/nos/

# Install engines
RUN /var/tmp/install-engines

# Cleanup disk
RUN rm -rf /tmp/* /var/tmp/*

{'fraction_non_alphanumeric': 0.13919275745001886, 'fraction_numerical': 0.003017729158807997, 'mean_word_length': 2.172248803827751, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7000134', 'n_tokens_mistral': 982, 'n_tokens_neox': 959, 'n_words': 256}