<commit_before>FROM fedora:24
MAINTAINER Rohith <<EMAIL>>

WORKDIR /kube-coreos

RUN dnf install -y -q git unzip procps-ng openssl jq which tar openssh-clients && dnf clean all
RUN pip3 install awscli

ENV CFSSL_VERSION 1.2
ENV TERRAFORM_VERSION 0.7.0
ENV KMSCTL_VERSION 0.2.0
ENV KUBECTL_VERSION 1.3.3

RUN curl -s https://pkg.cfssl.org/R${CFSSL_VERSION}/cfssl_linux-amd64 -o /usr/bin/cfssl && chmod +x /usr/bin/cfssl
RUN curl -s https://pkg.cfssl.org/R${CFSSL_VERSION}/cfssljson_linux-amd64 -o /usr/bin/cfssljson && chmod +x /usr/bin/cfssljson
RUN curl -sL https://github.com/gambol99/kmsctl/releases/download/v${KMSCTL_VERSION}/kmsctl_v${KMSCTL_VERSION}_linux_x86_64.gz | gunzip - > /usr/bin/kmsctl && chmod +x /usr/bin/kmsctl
RUN curl -sL https://storage.googleapis.com/kubernetes-release/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl -o /usr/bin/kubectl && chmod +x /usr/bin/kubectl
RUN curl -sL https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip -o /tmp/terraform_linux_amd64.zip

RUN mkdir -p /opt/terraform && \
    mv /tmp/terraform_linux_amd64.zip /opt/terraform && \
    cd /opt/terraform && \
    unzip terraform_linux_amd64.zip && \
    rm -f terraform_linux_amd64.zip && \
    ln -s /opt/terraform/terraform /usr/bin/terraform

RUN /usr/bin/aws --version
RUN /usr/bin/cfssl version
RUN /usr/bin/kubectl version --client
RUN /usr/bin/terraform version

ADD scripts/.bashrc /root/.bashrc

ENTRYPOINT [ "/bin/bash" ]
<commit_msg>- shifting the version of kubernetes to v1.3.4 in the container<commit_after>FROM fedora:24
MAINTAINER Rohith <<EMAIL>>

WORKDIR /kube-coreos

RUN dnf install -y -q git unzip procps-ng openssl jq which tar openssh-clients && dnf clean all
RUN pip3 install awscli

ENV CFSSL_VERSION 1.2
ENV TERRAFORM_VERSION 0.7.0
ENV KMSCTL_VERSION 0.2.0
ENV KUBECTL_VERSION 1.3.4

RUN curl -s https://pkg.cfssl.org/R${CFSSL_VERSION}/cfssl_linux-amd64 -o /usr/bin/cfssl && chmod +x /usr/bin/cfssl
RUN curl -s https://pkg.cfssl.org/R${CFSSL_VERSION}/cfssljson_linux-amd64 -o /usr/bin/cfssljson && chmod +x /usr/bin/cfssljson
RUN curl -sL https://github.com/gambol99/kmsctl/releases/download/v${KMSCTL_VERSION}/kmsctl_v${KMSCTL_VERSION}_linux_x86_64.gz | gunzip - > /usr/bin/kmsctl && chmod +x /usr/bin/kmsctl
RUN curl -sL https://storage.googleapis.com/kubernetes-release/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl -o /usr/bin/kubectl && chmod +x /usr/bin/kubectl
RUN curl -sL https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip -o /tmp/terraform_linux_amd64.zip

RUN mkdir -p /opt/terraform && \
    mv /tmp/terraform_linux_amd64.zip /opt/terraform && \
    cd /opt/terraform && \
    unzip terraform_linux_amd64.zip && \
    rm -f terraform_linux_amd64.zip && \
    ln -s /opt/terraform/terraform /usr/bin/terraform

RUN /usr/bin/aws --version
RUN /usr/bin/cfssl version
RUN /usr/bin/kubectl version --client
RUN /usr/bin/terraform version

ADD scripts/.bashrc /root/.bashrc

ENTRYPOINT [ "/bin/bash" ]

{'fraction_non_alphanumeric': 0.13570961412688032, 'fraction_numerical': 0.024525833878351864, 'mean_word_length': 3.871019108280255, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, 'https://': 10, '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': '161444', 'n_tokens_mistral': 1253, 'n_tokens_neox': 1219, 'n_words': 244}