<commit_before>FROM ubuntu:14.04
MAINTAINER <NAME> <<EMAIL>>

RUN useradd --no-create-home -g users --uid 22000 syncthing
# grab gosu for easy step-down from root
RUN apt-get update -qq \
  && apt-get install curl -y \
  && gpg --keyserver pgp.mit.edu --recv-keys <KEY> \
  && curl -o /usr/local/bin/gosu -SL "https://github.com/tianon/gosu/releases/download/1.2/gosu-$(dpkg --print-architecture)" \
  && curl -o /usr/local/bin/gosu.asc -SL "https://github.com/tianon/gosu/releases/download/1.2/gosu-$(dpkg --print-architecture).asc" \
  && gpg --verify /usr/local/bin/gosu.asc \
  && rm /usr/local/bin/gosu.asc \
  && chmod +x /usr/local/bin/gosu

# get syncthing
ADD https://github.com/syncthing/syncthing/releases/download/v0.10.24/syncthing-linux-amd64-v0.10.24.tar.gz /srv/syncthing.tar.gz
WORKDIR /srv
RUN tar -xzvf syncthing.tar.gz \
  && rm -f syncthing.tar.gz \
  && mv syncthing-linux-amd64-v* syncthing \
  && chown -R syncthing:users syncthing \
  && mkdir -p /srv/config \
  && mkdir -p /srv/data \

VOLUME ["/srv/data", "/srv/config"]

ADD ./start.sh /srv/start.sh
RUN chmod 770 /srv/start.sh

ENTRYPOINT ["/srv/start.sh"]
<commit_msg>Update to 0.10.26<commit_after>FROM ubuntu:14.04
MAINTAINER <NAME> <<EMAIL>>

RUN useradd --no-create-home -g users --uid 22000 syncthing
# grab gosu for easy step-down from root
RUN apt-get update -qq \
  && apt-get install curl -y \
  && gpg --keyserver pgp.mit.edu --recv-keys <KEY> \
  && curl -o /usr/local/bin/gosu -SL "https://github.com/tianon/gosu/releases/download/1.2/gosu-$(dpkg --print-architecture)" \
  && curl -o /usr/local/bin/gosu.asc -SL "https://github.com/tianon/gosu/releases/download/1.2/gosu-$(dpkg --print-architecture).asc" \
  && gpg --verify /usr/local/bin/gosu.asc \
  && rm /usr/local/bin/gosu.asc \
  && chmod +x /usr/local/bin/gosu

# get syncthing
ADD https://github.com/syncthing/syncthing/releases/download/v0.10.26/syncthing-linux-amd64-v0.10.26.tar.gz /srv/syncthing.tar.gz
WORKDIR /srv
RUN tar -xzvf syncthing.tar.gz \
  && rm -f syncthing.tar.gz \
  && mv syncthing-linux-amd64-v* syncthing \
  && chown -R syncthing:users syncthing \
  && mkdir -p /srv/config \
  && mkdir -p /srv/data \

VOLUME ["/srv/data", "/srv/config"]

ADD ./start.sh /srv/start.sh
RUN chmod 770 /srv/start.sh

ENTRYPOINT ["/srv/start.sh"]

{'fraction_non_alphanumeric': 0.1841876629018245, 'fraction_numerical': 0.028236316246741965, 'mean_word_length': 2.8836424957841484, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5055588', 'n_tokens_mistral': 1020, 'n_tokens_neox': 964, 'n_words': 186}