<commit_before>FROM progrium/busybox

WORKDIR /opt/weed

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 - -C /opt/weed/ && \
  mkdir ./bin &&  mv ./*/* ./bin && \
  mkdir -p /opt/weed/v1 /opt/weed/v2 /opt/weed/v3 \
  chmod +x ./bin/weed \
  nohup ./bin/weed server -master.port=9333 -ip=0.0.0.0 -dir=/opt/weed/v1 -volume.port=9443 >/dev/null 2>&1 & \
  nohup ./bin/weed server -master.port=9334 -ip=0.0.0.0 -dir=/opt/weed/v2 -volume.port=9444 -master.peers=0.0.0.0:9333 \
  nohup ./bin/weed server -master.port=9335 -ip=0.0.0.0 -dir=/opt/weed/v3 -volume.port=9445 -master.peers=0.0.0.0:9334

EXPOSE 9443
EXPOSE 9333

VOLUME /data

ENV WEED_HOME /opt/weed
ENV PATH ${PATH}:${WEED_HOME}/bin

ENTRYPOINT ["weed"]<commit_msg>Chore travis ci.<commit_after>FROM progrium/busybox

WORKDIR /opt/weed

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 - -C /opt/weed/ && \
  mkdir ./bin &&  mv ./*/* ./bin && \
  mkdir -p /opt/weed/v1 /opt/weed/v2 /opt/weed/v3 \
  chmod +x ./bin/weed \
  nohup ./bin/weed server -master.port=9333 -ip=0.0.0.0 -dir=/opt/weed/v1 -volume.port=9443 >/dev/null 2>&1 & \
  nohup ./bin/weed server -master.port=9334 -ip=0.0.0.0 -dir=/opt/weed/v2 -volume.port=9444 -master.peers=0.0.0.0:9333 \
  nohup ./bin/weed server -master.port=9335 -ip=0.0.0.0 -dir=/opt/weed/v3 -volume.port=9445 -master.peers=0.0.0.0:9334

EXPOSE 9443
EXPOSE 9444
EXPOSE 9445
EXPOSE 9333
EXPOSE 9334
EXPOSE 9335

VOLUME /data

ENV WEED_HOME /opt/weed
ENV PATH ${PATH}:${WEED_HOME}/bin

ENTRYPOINT ["weed"]
{'fraction_non_alphanumeric': 0.2118073537027447, 'fraction_numerical': 0.08285862247540135, 'mean_word_length': 2.8333333333333335, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 10, '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': '698937', 'n_tokens_mistral': 983, 'n_tokens_neox': 864, 'n_words': 167}