<commit_before>FROM progrium/busybox

RUN opkg-install curl
RUN echo tlsv1 >> ~/.curlrc

RUN curl -Lks https://bintray.com$(curl -Lk http://bintray.com/chrislusf/seaweedfs/seaweedfs/_latestVersion | grep linux_amd64.tar.gz | sed -n "/href/ s/.*href=['\"]\([^'\"]*\)['\"].*/\1/gp") | gunzip | tar -xf - && \
  mv go_*amd64/weed /usr/bin/ && \
  rm -r go_*amd64

EXPOSE 8080
EXPOSE 9333

VOLUME /data

COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
<commit_msg>download from github release page<commit_after>FROM progrium/busybox

RUN opkg-install curl
RUN echo tlsv1 >> ~/.curlrc

RUN curl -s -L https://github.com/chrislusf/seaweedfs/releases/latest | egrep -o '/chrislusf/seaweedfs/releases/download/.*/linux_amd64.tar.gz' | wget --base=http://github.com/ -i - && \
  tar xzvf linux_amd64.tar.gz && \
  mv weed /usr/bin/ && \
  rm -r linux_amd64.tar.gz

EXPOSE 8080
EXPOSE 9333

VOLUME /data

COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh

{'fraction_non_alphanumeric': 0.16374871266735325, 'fraction_numerical': 0.03192584963954686, 'mean_word_length': 3.32, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1600963', 'n_tokens_mistral': 433, 'n_tokens_neox': 391, 'n_words': 89}