<commit_before>FROM ubuntu:14.04
MAINTAINER <NAME> <<EMAIL>> (@dtan4)

ENV DOCKER_COMPOSE_VERSION 1.6.0
ENV GITRECEIVE_COMMIT d152fd28e9dba9fcd0af5366cf188fc89ce8385f

RUN apt-get update && \
    apt-get install -y git openssh-server wget && \
    rm -rf /var/lib/apt/lists/*

RUN wget -O /usr/local/bin/docker-compose https://github.com/docker/compose/releases/download/$DOCKER_COMPOSE_VERSION/docker-compose-Linux-x86_64 && \
    chmod +x /usr/local/bin/docker-compose

RUN wget -O /usr/local/bin/gitreceive https://raw.githubusercontent.com/progrium/gitreceive/$GITRECEIVE_COMMIT/gitreceive && \
    chmod +x /usr/local/bin/gitreceive

RUN mkdir /var/run/sshd
COPY files/sshd_config /etc/ssh/

RUN gitreceive init
RUN echo "git:passwd" | chpasswd
COPY files/receiver /home/git/

COPY files/upload-key /usr/local/bin/
<commit_msg>Install docker and etcdctl binary<commit_after>FROM ubuntu:14.04
MAINTAINER <NAME> <<EMAIL>> (@dtan4)

ENV DOCKER_VERSION 1.9.1
ENV DOCKER_COMPOSE_VERSION 1.6.0
ENV ETCD_VERSION 2.2.5
ENV GITRECEIVE_COMMIT d152fd28e9dba9fcd0af5366cf188fc89ce8385f

RUN apt-get update && \
    apt-get install -y git openssh-server wget && \
    rm -rf /var/lib/apt/lists/*

RUN wget -qO /usr/local/bin/docker https://get.docker.com/builds/Linux/x86_64/docker-$DOCKER_VERSION && \
    chmod +x /usr/local/bin/docker

RUN wget -qO /usr/local/bin/docker-compose https://github.com/docker/compose/releases/download/$DOCKER_COMPOSE_VERSION/docker-compose-Linux-x86_64 && \
    chmod +x /usr/local/bin/docker-compose

RUN wget -qO /tmp/etcd-v$ETCD_VERSION-linux-amd64.tar.gz https://github.com/coreos/etcd/releases/download/v$ETCD_VERSION/etcd-v$ETCD_VERSION-linux-amd64.tar.gz && \
    cd /tmp && \
    tar zxf etcd-v$ETCD_VERSION-linux-amd64.tar.gz && \
    cp etcd-v$ETCD_VERSION-linux-amd64/etcdctl /usr/local/bin/etcdctl && \
    rm -rf etcd-v$ETCD_VERSION-linux-amd64.tar.gz etcd-v$ETCD_VERSION-linux-amd64

RUN wget -qO /usr/local/bin/gitreceive https://raw.githubusercontent.com/progrium/gitreceive/$GITRECEIVE_COMMIT/gitreceive && \
    chmod +x /usr/local/bin/gitreceive

RUN mkdir /var/run/sshd
COPY files/sshd_config /etc/ssh/

RUN gitreceive init
RUN echo "git:passwd" | chpasswd
COPY files/receiver /home/git/

COPY files/upload-key /usr/local/bin/

{'fraction_non_alphanumeric': 0.13424295774647887, 'fraction_numerical': 0.03873239436619718, 'mean_word_length': 3.8361702127659574, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2421036', 'n_tokens_mistral': 1003, 'n_tokens_neox': 906, 'n_words': 153}