<commit_before>FROM golang:1.5

RUN apt-get update && apt-get install -y upx iptables

COPY ./github-host-key /etc/ssh/ssh_known_hosts

RUN go get github.com/pwaller/goupx

# Turn off cgo so that we end up with totally static binaries
ENV CGO_ENABLED=0 \
    GO15VENDOREXPERIMENT=1

RUN go install -a -installsuffix=static std

COPY ./vendor /go/src/github.com/scraperwiki/hanoverd/vendor/
COPY ./dependencies /go/src/github.com/scraperwiki/hanoverd/dependencies

RUN xargs go install -installsuffix=static -v < /go/src/github.com/scraperwiki/hanoverd/dependencies

COPY . /go/src/github.com/scraperwiki/hanoverd/

RUN go install -x -v -installsuffix=static \
		github.com/scraperwiki/hanoverd && \
	goupx /go/bin/hanoverd
<commit_msg>Update to go1.6<commit_after>FROM golang:1.6

RUN apt-get update && apt-get install -y upx iptables

COPY ./github-host-key /etc/ssh/ssh_known_hosts

# Turn off cgo so that we end up with totally static binaries
ENV CGO_ENABLED=0

RUN go install -v -a -installsuffix=static std

COPY ./vendor /go/src/github.com/scraperwiki/hanoverd/vendor/
COPY ./dependencies /go/src/github.com/scraperwiki/hanoverd/dependencies

RUN xargs go install -installsuffix=static -v < /go/src/github.com/scraperwiki/hanoverd/dependencies

COPY . /go/src/github.com/scraperwiki/hanoverd/

RUN go install -x -v -installsuffix=static \
		github.com/scraperwiki/hanoverd && \
	upx /go/bin/hanoverd

{'fraction_non_alphanumeric': 0.11016346837242359, 'fraction_numerical': 0.007818052594171997, 'mean_word_length': 3.838487972508591, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '2669513', 'n_tokens_mistral': 547, 'n_tokens_neox': 524, 'n_words': 122}