<commit_before>FROM golang:1.10-alpine
RUN apk update
RUN apk add libnetfilter_queue-dev iptables-dev libpcap-dev

RUN mkdir -p $GOPATH/src/github.com/mushorg/glutton
WORKDIR $GOPATH/src/github.com/mushorg/glutton

RUN apk add g++ git
RUN go get -u golang.org/x/vgo

RUN cd $WORKDIR
ADD . .

RUN vgo build -o server app/server.go && \
    apk del g++ git && \
    rm -rf /var/cache/apk/*<commit_msg>bump docker image to go 1.11<commit_after>FROM golang:1.11-alpine
RUN apk update
RUN apk add libnetfilter_queue-dev iptables-dev libpcap-dev

RUN mkdir -p $GOPATH/src/github.com/mushorg/glutton
WORKDIR $GOPATH/src/github.com/mushorg/glutton

RUN apk add g++ git

RUN cd $WORKDIR
ADD . .

RUN go build -o server app/server.go && \
    apk del g++ git && \
    rm -rf /var/cache/apk/*
{'fraction_non_alphanumeric': 0.11907810499359796, 'fraction_numerical': 0.011523687580025609, 'mean_word_length': 3.25, 'pattern_counts': {'":': 0, '<': 3, '<?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': '1107863', 'n_tokens_mistral': 326, 'n_tokens_neox': 314, 'n_words': 87}