<commit_before>FROM nanobox/runit

# Create directories
RUN mkdir -p \
  /var/log/gonano \
  /var/nanobox \
  /opt/nanobox/hooks

# Install nfs client
RUN apt-get update -qq && \
    apt-get install -y nfs-common cron && \
    apt-get clean all && \
    rm -rf /var/lib/apt/lists/*

# remove pkgsrc base bootstrap to save space
# since it's replaced by the build and not used
RUN rm -rf /data && \
    mkdir -p /data

# Install hooks
RUN curl \
      -f \
      -k \
      https://d1ormdui8qdvue.cloudfront.net/hooks/code-stable.tgz \
        | tar -xz -C /opt/nanobox/hooks
<commit_msg>add the remote logger so cron jobs can work<commit_after>FROM nanobox/runit

# Create directories
RUN mkdir -p \
  /var/log/gonano \
  /var/nanobox \
  /opt/nanobox/hooks

# Install nfs client
RUN apt-get update -qq && \
    apt-get install -y nfs-common cron && \
    apt-get clean all && \
    rm -rf /var/lib/apt/lists/*

# remove pkgsrc base bootstrap to save space
# since it's replaced by the build and not used
RUN rm -rf /data && \
    mkdir -p /data

RUN /opt/gonano/bin/gem install remote_syslog_logger

# Install hooks
RUN curl \
      -f \
      -k \
      https://d1ormdui8qdvue.cloudfront.net/hooks/code-stable.tgz \
        | tar -xz -C /opt/nanobox/hooks

{'fraction_non_alphanumeric': 0.11764705882352941, 'fraction_numerical': 0.003179650238473768, 'mean_word_length': 2.211734693877551, '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': '1107855', 'n_tokens_mistral': 473, 'n_tokens_neox': 451, 'n_words': 136}