<commit_before>ARG GOLANG_VERSION
FROM golang:${GOLANG_VERSION:-1.15.6} as build
ENV CGO_ENABLED=0
WORKDIR /go/src/github.com/roverdotcom/snagsby
COPY . /go/src/github.com/roverdotcom/snagsby
RUN make build
RUN /go/src/github.com/roverdotcom/snagsby/snagsby -v


FROM alpine:3
WORKDIR /app/
RUN apk add --no-cache ca-certificates
COPY --from=build /go/src/github.com/roverdotcom/snagsby/snagsby /app/snagsby
ENTRYPOINT [ "/app/snagsby" ]
<commit_msg>Install bash in our container image (#34)<commit_after>ARG GOLANG_VERSION
FROM golang:${GOLANG_VERSION:-1.15.6} as build
ENV CGO_ENABLED=0
WORKDIR /go/src/github.com/roverdotcom/snagsby
COPY . /go/src/github.com/roverdotcom/snagsby
RUN make build
RUN /go/src/github.com/roverdotcom/snagsby/snagsby -v


FROM alpine:3
WORKDIR /app/
RUN apk add --no-cache \
    ca-certificates \
    bash
COPY --from=build /go/src/github.com/roverdotcom/snagsby/snagsby /app/snagsby
ENTRYPOINT [ "/app/snagsby" ]

{'fraction_non_alphanumeric': 0.12804232804232804, 'fraction_numerical': 0.014814814814814815, 'mean_word_length': 4.197802197802198, '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': '3125475', 'n_tokens_mistral': 396, 'n_tokens_neox': 384, 'n_words': 73}