<commit_before>FROM ciworks-agent
MAINTAINER <NAME> <<EMAIL>>
USER root

RUN export DEBIAN_FRONTEND=noninteractive \
    && apt-get update \
    && apt-get install -y curl default-jdk ant ant-contrib rpm binutils \
    && rm -rf /var/lib/apt/lists/* \
    && echo "teamcity ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/teamcity

ADD http://central.maven.org/maven2/io/trygvis/usb/cpptasks-parallel/1.0-beta-5-parallel-1-trygvis-1/cpptasks-parallel-1.0-beta-5-parallel-1-trygvis-1.jar /home/teamcity/.ant/lib/
#ADD https://github.com/emil-mi/cpptasks-parallel/releases/download/cpptasks-parallel-2.0.0/cpptasks-parallel-2.0.0.jar /home/teamcity/.ant/lib/

ADD bootstrap-agent.sh \
    https://raw.githubusercontent.com/emil-mi/ciworks/master/cvm/cvm \
    https://raw.githubusercontent.com/emil-mi/ciworks/master/cvm/cvm-exec /usr/local/bin/

RUN echo "export CLASSPATH=\$(ls -1 ~/.ant/lib | paste -sd ':')" > /home/teamcity/.ant/ant.conf \
    && chown -R teamcity:teamcity /home/teamcity \
    && chmod +rx /usr/local/bin/*

USER teamcity
CMD ["/usr/local/bin/my_init", "/usr/local/bin/bootstrap-agent.sh"]
<commit_msg>Fixed the CLASSPATH generation for ant plugins<commit_after>FROM ciworks-agent
MAINTAINER <NAME> <<EMAIL>>
USER root

RUN export DEBIAN_FRONTEND=noninteractive \
    && apt-get update \
    && apt-get install -y curl default-jdk ant ant-contrib rpm binutils \
    && rm -rf /var/lib/apt/lists/* \
    && echo "teamcity ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/teamcity

ADD http://central.maven.org/maven2/io/trygvis/usb/cpptasks-parallel/1.0-beta-5-parallel-1-trygvis-1/cpptasks-parallel-1.0-beta-5-parallel-1-trygvis-1.jar /home/teamcity/.ant/lib/
#ADD https://github.com/emil-mi/cpptasks-parallel/releases/download/cpptasks-parallel-2.0.0/cpptasks-parallel-2.0.0.jar /home/teamcity/.ant/lib/

ADD bootstrap-agent.sh \
    https://raw.githubusercontent.com/emil-mi/ciworks/master/cvm/cvm \
    https://raw.githubusercontent.com/emil-mi/ciworks/master/cvm/cvm-exec /usr/local/bin/

RUN echo "export CLASSPATH=\$(find ~/.ant/lib | paste -sd ':')" > /home/teamcity/.ant/ant.conf \
    && chown -R teamcity:teamcity /home/teamcity \
    && chmod +rx /usr/local/bin/*

USER teamcity
CMD ["/usr/local/bin/my_init", "/usr/local/bin/bootstrap-agent.sh"]

{'fraction_non_alphanumeric': 0.17446996466431094, 'fraction_numerical': 0.015459363957597174, 'mean_word_length': 3.3641618497109826, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 13, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '969578', 'n_tokens_mistral': 907, 'n_tokens_neox': 869, 'n_words': 127}