<commit_before>FROM debian:stretch

MAINTAINER <EMAIL>

RUN apt-get update && apt-get install -y --no-install-recommends \
  curl git golang openjdk-8-jdk-headless procps \
  && apt-get clean \
  && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

RUN curl -L https://github.com/docker/compose/releases/download/1.11.1/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose && \
  chmod +x /usr/local/bin/docker-compose

RUN export GOPATH=/gocode && \
  go get github.com/tools/godep && \
  export PATH=$PATH:$GOPATH/bin && \
  mkdir -p $GOPATH/src/github.com/docker/ && \
  cd $GOPATH/src/github.com/docker/ && \
  git clone https://github.com/docker/swarm && \
  cd swarm && \
  git checkout -b v1.2.6 v1.2.6 &&\
  godep go install . && \
  rm -rf $GOPATH/src/*

ENV PATH $PATH:/bin:/usr/bin:/gocode/bin

LABEL service-type=system
LABEL arg.memory=512M
LABEL arg.restart=always
LABEL arg.ports=8761:8761

ENV JAVA_OPTS=" -Xms64M -Xmx512M -Xss256k -XX:+HeapDumpOnOutOfMemoryError "

EXPOSE 8761

RUN mkdir /data
WORKDIR /data<commit_msg>#58 upgraded docker swarm to v1.2.7<commit_after>FROM debian:stretch

MAINTAINER <EMAIL>

RUN apt-get update && apt-get install -y --no-install-recommends \
  curl git golang openjdk-8-jdk-headless procps \
  && apt-get clean \
  && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

RUN curl -L https://github.com/docker/compose/releases/download/1.11.1/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose && \
  chmod +x /usr/local/bin/docker-compose

RUN export GOPATH=/gocode && \
  go get github.com/tools/godep && \
  export PATH=$PATH:$GOPATH/bin && \
  mkdir -p $GOPATH/src/github.com/docker/ && \
  cd $GOPATH/src/github.com/docker/ && \
  git clone https://github.com/docker/swarm && \
  cd swarm && \
  git checkout -b v1.2.7 v1.2.7 &&\
  godep go install . && \
  rm -rf $GOPATH/src/*

ENV PATH $PATH:/bin:/usr/bin:/gocode/bin

LABEL service-type=system
LABEL arg.memory=512M
LABEL arg.restart=always
LABEL arg.ports=8761:8761

ENV JAVA_OPTS=" -Xms64M -Xmx512M -Xss256k -XX:+HeapDumpOnOutOfMemoryError "

EXPOSE 8761

RUN mkdir /data
WORKDIR /data
{'fraction_non_alphanumeric': 0.1644674835061263, 'fraction_numerical': 0.03440150801131008, 'mean_word_length': 3.0984555984555984, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 4, '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': '89523', 'n_tokens_mistral': 940, 'n_tokens_neox': 863, 'n_words': 176}