<commit_before>FROM gliderlabs/alpine:3.2
ENTRYPOINT ["/bin/risu"]

COPY . /go/src/github.com/wantedly/risu
RUN apk-install -t build-deps go git mercurial \
      && cd /go/src/github.com/wantedly/risu \
      && export GOPATH=/go \
      && go get github.com/tools/godep \
      && $GOPATH/bin/godep go build -ldflags "-X main.Version" -o /bin/risu \
      && rm -rf /go \
      && apk del --purge build-deps go git mercurial<commit_msg>Install git to risu docker image<commit_after>FROM gliderlabs/alpine:3.2
ENTRYPOINT ["/bin/risu"]

COPY . /go/src/github.com/wantedly/risu
RUN apk update \
      && apk upgrade \
      && apk add git go mercurial \
      && cd /go/src/github.com/wantedly/risu \
      && export GOPATH=/go \
      && go get github.com/tools/godep \
      && $GOPATH/bin/godep go build -ldflags "-X main.Version" -o /bin/risu \
      && rm -rf /go \
      && apk del --purge go mercurial
{'fraction_non_alphanumeric': 0.14994487320837926, 'fraction_numerical': 0.004410143329658214, 'mean_word_length': 2.2313167259786475, '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': '698898', 'n_tokens_mistral': 360, 'n_tokens_neox': 340, 'n_words': 81}