<commit_before>FROM debian:jessie
MAINTAINER <EMAIL>

RUN \
    apt-get update && \
    apt-get install -y curl cron python python-pip netcat && \
    pip install PyYAML

RUN \
    mkdir -p /usr/local/bin/ &&\
    curl -SL https://github.com/jwilder/dockerize/releases/download/v0.0.3/dockerize-linux-amd64-v0.0.3.tar.gz \
    | tar xzC /usr/local/bin

RUN \
    echo "deb http://http.debian.net/debian jessie-backports main" > /etc/apt/sources.list.d/backports.list && \
    apt-get update && \
    apt-get install -y docker.io

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

RUN \
    curl -SL https://github.com/kubernetes/kubernetes/releases/download/v1.0.3/kubernetes.tar.gz \
    | tar xz kubernetes/platforms/linux/amd64/kubectl &&\
    mv kubernetes/platforms/linux/amd64/kubectl /usr/local/bin &&\
    rm -rf kubernetes

ADD files/compose2kube /usr/local/bin/compose2kube

WORKDIR /app
ADD . /app

RUN mkdir -p /app/lockers
RUN curl -SL -o /app/lockers/cronsul-cleanup -z /app/lockers/cronsul-cleanup https://raw.githubusercontent.com/EvanKrall/cronsul/master/cronsul-cleanup &&\
    chmod +x /app/lockers/cronsul-cleanup
RUN curl -SL -o /app/lockers/cronsul -z /app/lockers/cronsul https://raw.githubusercontent.com/sstarcher/cronsul/master/cronsul &&\
    chmod +x /app/lockers/cronsul
RUN mkdir /app/compose

ONBUILD RUN ./processor/python.py jobs &&\
    cp /app/cron/* /etc/cron.d/ &&\
    cp /app/default/* /etc/default/

ENV RUNNER docker
ENV ALERTER ''
ENV LOCKER ''
ENV SENSU_JIT ''
ENV K8S ''
ENV CONSUL_HOST ''<commit_msg>updating to add files from jobs folder on build<commit_after>FROM debian:jessie
MAINTAINER <EMAIL>

RUN \
    apt-get update && \
    apt-get install -y curl cron python python-pip netcat && \
    pip install PyYAML

RUN \
    mkdir -p /usr/local/bin/ &&\
    curl -SL https://github.com/jwilder/dockerize/releases/download/v0.0.3/dockerize-linux-amd64-v0.0.3.tar.gz \
    | tar xzC /usr/local/bin

RUN \
    echo "deb http://http.debian.net/debian jessie-backports main" > /etc/apt/sources.list.d/backports.list && \
    apt-get update && \
    apt-get install -y docker.io

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

RUN \
    curl -SL https://github.com/kubernetes/kubernetes/releases/download/v1.0.3/kubernetes.tar.gz \
    | tar xz kubernetes/platforms/linux/amd64/kubectl &&\
    mv kubernetes/platforms/linux/amd64/kubectl /usr/local/bin &&\
    rm -rf kubernetes

ADD files/compose2kube /usr/local/bin/compose2kube

WORKDIR /app
ADD . /app

RUN mkdir -p /app/lockers
RUN curl -SL -o /app/lockers/cronsul-cleanup -z /app/lockers/cronsul-cleanup https://raw.githubusercontent.com/EvanKrall/cronsul/master/cronsul-cleanup &&\
    chmod +x /app/lockers/cronsul-cleanup
RUN curl -SL -o /app/lockers/cronsul -z /app/lockers/cronsul https://raw.githubusercontent.com/sstarcher/cronsul/master/cronsul &&\
    chmod +x /app/lockers/cronsul
RUN mkdir /app/compose

ONBUILD ADD jobs jobs
ONBUILD RUN ./processor/python.py jobs &&\
    cp /app/cron/* /etc/cron.d/ &&\
    cp /app/default/* /etc/default/

ENV RUNNER docker
ENV ALERTER ''
ENV LOCKER ''
ENV SENSU_JIT ''
ENV K8S ''
ENV CONSUL_HOST ''
{'fraction_non_alphanumeric': 0.1486013986013986, 'fraction_numerical': 0.012237762237762238, 'mean_word_length': 2.887882219705549, 'pattern_counts': {'":': 0, '<': 5, '<?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': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6553971', 'n_tokens_mistral': 1398, 'n_tokens_neox': 1331, 'n_words': 258}