<commit_before>FROM golang:1.10.1-alpine3.7 AS builder

RUN apk add --update git make \
  && git clone https://github.com/google/mtail.git /go/src/github.com/google/mtail \
  && cd /go/src/github.com/google/mtail \
  && make


FROM alpine:3.7

ARG version=0.0.0-local
ARG build_date=unknown
ARG commit_hash=unknown
ARG vcs_url=unknown
ARG vcs_branch=unknown

EXPOSE 3093
ENTRYPOINT ["/usr/bin/mtail"]

LABEL org.label-schema.vendor='Google' \<commit_msg>take advantage of docker layering<commit_after>FROM golang:1.10.1-alpine3.7 AS builder
RUN apk add --update git make
WORKDIR /go/src/github.com/google/mtail
COPY . /go/src/github.com/google/mtail
RUN make


FROM alpine:3.7

ARG version=0.0.0-local
ARG build_date=unknown
ARG commit_hash=unknown
ARG vcs_url=unknown
ARG vcs_branch=unknown

EXPOSE 3093
ENTRYPOINT ["/usr/bin/mtail"]

LABEL org.label-schema.vendor='Google' \
{'fraction_non_alphanumeric': 0.12442922374429223, 'fraction_numerical': 0.03424657534246575, 'mean_word_length': 4.283132530120482, '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': '5465246', 'n_tokens_mistral': 346, 'n_tokens_neox': 330, 'n_words': 73}