<commit_before>FROM alpine:latest

EXPOSE 9130

RUN apk update ; apk add go ; apk add git ; apk add musl-dev ; \
    go get github.com/mdlayher/unifi_exporter/cmd/unifi_exporter; \
    mv ~/go/bin/unifi_exporter /bin/

USER nobody
ENTRYPOINT ["/bin/unifi_exporter"]<commit_msg>Remove build deps after build<commit_after>FROM alpine:latest

EXPOSE 9130

RUN apk add --update --virtual build-deps go git musl-dev && \
    go get github.com/mdlayher/unifi_exporter/cmd/unifi_exporter && \
    mv ~/go/bin/unifi_exporter /bin/ && \
    apk del build-deps && \
    rm -rf /var/cache/apk/* ~/go/

USER nobody
ENTRYPOINT ["/bin/unifi_exporter"]
{'fraction_non_alphanumeric': 0.12244897959183673, 'fraction_numerical': 0.012558869701726845, 'mean_word_length': 3.310810810810811, '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': '1107879', 'n_tokens_mistral': 256, 'n_tokens_neox': 241, 'n_words': 59}