<commit_before>ARG GO_VERSION=1.12.6

FROM golang:${GO_VERSION} as dev
RUN apt-get update && apt-get -y install iptables \
		protobuf-compiler

RUN go get -d github.com/gogo/protobuf/protoc-gen-gogo && \
		cd /go/src/github.com/gogo/protobuf/protoc-gen-gogo && \
		git reset --hard 30cf7ac33676b5786e78c746683f0d4cd64fa75b && \
		go install

RUN go get golang.org/x/lint/golint \
		golang.org/x/tools/cmd/cover \
		github.com/mattn/goveralls \
		github.com/gordonklaus/ineffassign \
		github.com/client9/misspell/cmd/misspell

WORKDIR /go/src/github.com/docker/libnetwork

FROM dev

COPY . .<commit_msg>Bump the GO Version to 1.12.8 which contains security fixes https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/golang-announce/65QixT3tcmg/DrFiG6vvCwAJ<commit_after>ARG GO_VERSION=1.12.8

FROM golang:${GO_VERSION}-stretch as dev
RUN apt-get update && apt-get -y install iptables \
		protobuf-compiler

RUN go get -d github.com/gogo/protobuf/protoc-gen-gogo && \
		cd /go/src/github.com/gogo/protobuf/protoc-gen-gogo && \
		git reset --hard 30cf7ac33676b5786e78c746683f0d4cd64fa75b && \
		go install

RUN go get golang.org/x/lint/golint \
		golang.org/x/tools/cmd/cover \
		github.com/mattn/goveralls \
		github.com/gordonklaus/ineffassign \
		github.com/client9/misspell/cmd/misspell

WORKDIR /go/src/github.com/docker/libnetwork

FROM dev

COPY . .
{'fraction_non_alphanumeric': 0.12518195050946143, 'fraction_numerical': 0.050946142649199416, 'mean_word_length': 3.67687074829932, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '2669477', 'n_tokens_mistral': 619, 'n_tokens_neox': 553, 'n_words': 90}