<commit_before>FROM ubuntu:14.04
MAINTAINER <EMAIL>

RUN apt-get update -y && apt-get install -y git mercurial curl make

# docker
RUN curl -s https://get.docker.com/ | sh

# go
RUN cd /tmp && curl -sO https://storage.googleapis.com/golang/go1.4.2.linux-amd64.tar.gz
RUN gzip -dc /tmp/go1.4.2.linux-amd64.tar.gz | sudo tar -C /usr/local -xvf -
RUN rm /tmp/go1.4.2.linux-amd64.tar.gz

ADD scripts /scripts

VOLUME ["/data/go/bin", "/data/go/src", "/data/src", "/var/lib/docker"]

ENV GOOS=linux
ENV GOARCH=amd64

WORKDIR /data/src
ENTRYPOINT ["/scripts/entry"]
<commit_msg>Configure go tools for other os/arch combinations. linux/arm, darwin/amd64, windows/amd64.<commit_after>FROM ubuntu:14.04
MAINTAINER <EMAIL>

RUN apt-get update -y && apt-get install -y git mercurial curl make gcc

# docker
RUN curl -s https://get.docker.com/ | sh

# go
RUN cd /tmp && curl -sO https://storage.googleapis.com/golang/go1.4.2.linux-amd64.tar.gz
RUN gzip -dc /tmp/go1.4.2.linux-amd64.tar.gz | sudo tar -C /usr/local -xvf -
RUN rm /tmp/go1.4.2.linux-amd64.tar.gz

WORKDIR /usr/local/go/src

# build the linux, darwin and windows go tool chains
RUN GOOS=linux GOARCH=arm ./make.bash
RUN GOOS=darwin GOARCH=amd64 ./make.bash
RUN GOOS=windows GOARCH=amd64 ./make.bash

ADD scripts /scripts

VOLUME ["/data/go/bin", "/data/go/src", "/data/src", "/var/lib/docker"]

ENV GOOS=linux
ENV GOARCH=amd64

WORKDIR /data/src
ENTRYPOINT ["/scripts/entry"]

{'fraction_non_alphanumeric': 0.15767344078486334, 'fraction_numerical': 0.0350385423966363, 'mean_word_length': 3.4347826086956523, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '553809', 'n_tokens_mistral': 599, 'n_tokens_neox': 556, 'n_words': 145}