<commit_before>FROM centos:7
LABEL works.weave.role=system

ENV DOCKER_HOST=unix:///weave.sock

RUN yum --assumeyes --quiet install openssl

RUN curl --silent --location \
  https://test.docker.com/builds/Linux/x86_64/docker-1.10.0-rc1 \
  --output /usr/bin/docker \
  && chmod +x /usr/bin/docker ;

RUN curl --silent --location \
  https://storage.googleapis.com/kubernetes-release/release/v1.1.3/bin/linux/amd64/kubectl \
  --output /usr/bin/kubectl \
  && chmod +x /usr/bin/kubectl ;

RUN curl --silent --location \
  https://github.com/OpenVPN/easy-rsa/releases/download/3.0.1/EasyRSA-3.0.1.tgz \
  | tar xz -C /opt \
  && mv /opt/EasyRSA-3.0.1 /opt/EasyRSA

RUN kubectl config set-cluster default-cluster --server=http://kube-apiserver.weave.local:8080 ; \
   kubectl config set-context default-system --cluster=default-cluster ; \
   kubectl config use-context default-system ;

RUN mkdir guestbook-example ; cd guestbook-example ; \
  curl --silent --location \
    'https://raw.github.com/kubernetes/kubernetes/v1.1.3/examples/guestbook/{redis-master-controller,redis-master-service,redis-slave-controller,redis-slave-service,frontend-controller,frontend-service}.yaml' \
    --remote-name ; \
  sed 's/# type: LoadBalancer/type: NodePort/' -i frontend-service.yaml ;

ADD kube-system-namespace.yaml /kube-system-namespace.yaml
ADD skydns-addon /skydns-addon

RUN curl --silent --location \
  https://github.com/docker/compose/releases/download/1.5.1/docker-compose-Linux-x86_64 \
  --output /usr/bin/compose \
  && chmod +x /usr/bin/compose ;

ADD docker-compose.yml /<commit_msg>Setup alternative SkyDNS manifest for TLS-enabled setup<commit_after>FROM centos:7
LABEL works.weave.role=system

ENV DOCKER_HOST=unix:///weave.sock

RUN yum --assumeyes --quiet install openssl

RUN curl --silent --location \
  https://test.docker.com/builds/Linux/x86_64/docker-1.10.0-rc1 \
  --output /usr/bin/docker \
  && chmod +x /usr/bin/docker ;

RUN curl --silent --location \
  https://storage.googleapis.com/kubernetes-release/release/v1.1.3/bin/linux/amd64/kubectl \
  --output /usr/bin/kubectl \
  && chmod +x /usr/bin/kubectl ;

RUN curl --silent --location \
  https://github.com/OpenVPN/easy-rsa/releases/download/3.0.1/EasyRSA-3.0.1.tgz \
  | tar xz -C /opt \
  && mv /opt/EasyRSA-3.0.1 /opt/EasyRSA

RUN kubectl config set-cluster default-cluster --server=http://kube-apiserver.weave.local:8080 ; \
   kubectl config set-context default-system --cluster=default-cluster ; \
   kubectl config use-context default-system ;

RUN mkdir guestbook-example ; cd guestbook-example ; \
  curl --silent --location \
    'https://raw.github.com/kubernetes/kubernetes/v1.1.3/examples/guestbook/{redis-master-controller,redis-master-service,redis-slave-controller,redis-slave-service,frontend-controller,frontend-service}.yaml' \
    --remote-name ; \
  sed 's/# type: LoadBalancer/type: NodePort/' -i frontend-service.yaml ;

ADD kube-system-namespace.yaml /kube-system-namespace.yaml
ADD skydns-addon /skydns-addon
RUN cp -a /skydns-addon /skydns-addon-secure ; \
  sed 's|\(- -kube_master_url=http://kube-apiserver.weave.local:8080\)$|#\1|' -i skydns-addon-secure/controller.yaml

RUN curl --silent --location \
  https://github.com/docker/compose/releases/download/1.5.1/docker-compose-Linux-x86_64 \
  --output /usr/bin/compose \
  && chmod +x /usr/bin/compose ;

ADD docker-compose.yml /
{'fraction_non_alphanumeric': 0.15948021264028353, 'fraction_numerical': 0.023922031896042528, 'mean_word_length': 3.2231920199501247, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 10, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '99609', 'n_tokens_mistral': 1348, 'n_tokens_neox': 1269, 'n_words': 204}