<commit_before>FROM golang:1.3

MAINTAINER <NAME> <<EMAIL>>

ENV PULSE_VERSION v0.11.5

WORKDIR /go/src/github.com/syncthing/syncthing/

COPY entrypoint.sh /entrypoint.sh

RUN curl -sS https://syncthing.net/security.html | gpg --import - \
	&& git clone https://github.com/syncthing/syncthing . \
	&& git verify-tag "$PULSE_VERSION" \
	&& git checkout "$PULSE_VERSION" \
	&& go run build.go -no-upgrade \
	&& mkdir /opt/syncthing \
	&& cp bin/syncthing /opt/syncthing/syncthing \
	&& rm -rf /go/src/github.com /go/src/golang.org /root/.gnupg \
	&& chmod +x /entrypoint.sh

WORKDIR /opt/syncthing

VOLUME ["/opt/syncthing/config.d"]

ENTRYPOINT ["/entrypoint.sh"]

EXPOSE 8080 22000 21025/udp

CMD ["/opt/syncthing/syncthing", "-home=/opt/syncthing/config.d"]
<commit_msg>skip git verify-tag for v0.11.5 syncthing/syncthing#1818<commit_after>FROM golang:1.3

MAINTAINER <NAME> <<EMAIL>>

ENV PULSE_VERSION v0.11.5

WORKDIR /go/src/github.com/syncthing/syncthing/

COPY entrypoint.sh /entrypoint.sh

RUN curl -sS https://syncthing.net/security.html | gpg --import - \
	&& git clone https://github.com/syncthing/syncthing . \
#	&& git verify-tag "$PULSE_VERSION" \
	&& git checkout "$PULSE_VERSION" \
	&& go run build.go -no-upgrade \
	&& mkdir /opt/syncthing \
	&& cp bin/syncthing /opt/syncthing/syncthing \
	&& rm -rf /go/src/github.com /go/src/golang.org /root/.gnupg \
	&& chmod +x /entrypoint.sh

WORKDIR /opt/syncthing

VOLUME ["/opt/syncthing/config.d"]

ENTRYPOINT ["/entrypoint.sh"]

EXPOSE 8080 22000 21025/udp

CMD ["/opt/syncthing/syncthing", "-home=/opt/syncthing/config.d"]

{'fraction_non_alphanumeric': 0.1664564943253468, 'fraction_numerical': 0.03026481715006305, 'mean_word_length': 3.483050847457627, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 4, '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': '1391538', 'n_tokens_mistral': 690, 'n_tokens_neox': 648, 'n_words': 121}