<commit_before>FROM alpine:3.5

LABEL maintainer "https://github.com/blacktop"

RUN apk add --no-cache file tini
RUN apk add --no-cache -t build-deps go git mercurial build-base file-dev libc-dev \
  && set -x \
  && echo "Building malice Go binary..." \
  && git clone https://github.com/maliceio/malice.git /go/src/github.com/maliceio/malice \
  && cd /go/src/github.com/maliceio/malice \
  # fix git redirects
  && git config --global http.https://gopkg.in.followRedirects true \
  && export GOPATH=/go \
  && go version \
  && go get \
  && go build -ldflags "-X main.Version=$(cat VERSION) -X main.BuildTime=$(date -u +%Y%m%d)" -o /bin/malice \
  && echo "Copy malice config files..." \
  && mkdir /malice \
  && cp /go/src/github.com/maliceio/malice/config/config.toml /malice \<commit_msg>fix docker again<commit_after>FROM alpine:3.5

LABEL maintainer "https://github.com/blacktop"

RUN apk add --no-cache file tini
RUN apk add --no-cache -t build-deps go git mercurial build-base gcc file-dev libc-dev \
  && set -x \
  && echo "Building malice Go binary..." \
  && git clone https://github.com/maliceio/malice.git /go/src/github.com/maliceio/malice \
  && cd /go/src/github.com/maliceio/malice \
  # fix git redirects
  && git config --global http.https://gopkg.in.followRedirects true \
  && export GOPATH=/go \
  && go version \
  && go get -d \
  && CGO_ENABLED=0 go build -ldflags "-X main.Version=$(cat VERSION) -X main.BuildTime=$(date -u +%Y%m%d)" -o /bin/malice \
  && echo "Copy malice config files..." \
  && mkdir /malice \
  && cp /go/src/github.com/maliceio/malice/config/config.toml /malice \
{'fraction_non_alphanumeric': 0.16831683168316833, 'fraction_numerical': 0.003094059405940594, 'mean_word_length': 2.840855106888361, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, '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': '5958768', 'n_tokens_mistral': 608, 'n_tokens_neox': 596, 'n_words': 149}