<commit_before>FROM ubuntu:18.04
LABEL "com.rti.vendor"="Real-Time Innovations" \
    version="3.0.1" \
    maintainer="<EMAIL>" \
    description="Run RTI Perftest from a Docker container"

ADD https://github.com/rticommunity/rtiperftest/releases/download/3.0.1/rti_perftest-3.0.1_connext_dds_pro_6.0.0_x64Linux.tar.gz /tmp
RUN tar -xvzf tmp/rti_perftest-3.0.1_connext_dds_pro_6.0.0_x64Linux.tar.gz
WORKDIR rti_perftest-3.0.1_x64Linux3gcc4.8.2
RUN ln -s bin/x64Linux3gcc4.8.2/release/perftest_cpp perftest
ENTRYPOINT ["./perftest"]

# How to use?
# 1. Build container image:
#       $ docker build -t rti/perftest .
# 2. Run docker container
#       $ docker run rti/perftest <perftest arguments><commit_msg>Update docker file<commit_after>FROM ubuntu:18.04
LABEL "com.rti.vendor"="Real-Time Innovations" \
    version="3.1.0" \
    maintainer="<EMAIL>" \
    description="Run RTI Perftest from a Docker container"

ADD https://github.com/rticommunity/rtiperftest/releases/download/3.1.0/rti_perftest-3.0.1_connext_dds_pro_6.0.1_x64Linux.tar.gz /tmp
RUN tar -xvzf tmp/rti_perftest-3.1.0_connext_dds_pro_6.0.0_x64Linux.tar.gz
WORKDIR rti_perftest-3.1.0_x64Linux3gcc4.8.2
RUN ln -s bin/x64Linux3gcc4.8.2/release/perftest_cpp perftest
ENTRYPOINT ["./perftest"]

# How to use?
# 1. Build container image:
#       $ docker build -t rti/perftest .
# 2. Run docker container
#       $ docker run rti/perftest <perftest arguments>
{'fraction_non_alphanumeric': 0.129304286718201, 'fraction_numerical': 0.060435699226985246, 'mean_word_length': 3.961672473867596, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, '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': '4090984', 'n_tokens_mistral': 643, 'n_tokens_neox': 597, 'n_words': 101}