<commit_before>FROM splunk/splunk:8.0.2.1
LABEL authors "<NAME> <<EMAIL>>,<NAME> <<EMAIL>>"

USER root

# Install 'find' for the app build process
RUN microdnf -y update && \
    microdnf -y --nodocs install findutils && \
    microdnf clean all

# Build app and add-on
COPY Splunk_TA_paloalto /tmp/splunk/Splunk_TA_paloalto
COPY SplunkforPaloAltoNetworks /tmp/splunk/SplunkforPaloAltoNetworks
COPY scripts /tmp/splunk/scripts
RUN /tmp/splunk/scripts/build.sh -a app -o SplunkforPaloAltoNetworks.tgz -l
RUN /tmp/splunk/scripts/build.sh -a addon -o Splunk_TA_paloalto.tgz -l

# Download a stable Eventgen
RUN wget -qO /tmp/eventgen.tar.gz https://github.com/btorresgil/eventgen/archive/develop.tar.gz<commit_msg>chore(demo): Change Splunk baseimage to debian<commit_after>FROM splunk/splunk:8.0.2.1-debian
LABEL authors "<NAME> <<EMAIL>>,<NAME> <<EMAIL>>"

USER root

# Build app and add-on
COPY Splunk_TA_paloalto /tmp/splunk/Splunk_TA_paloalto
COPY SplunkforPaloAltoNetworks /tmp/splunk/SplunkforPaloAltoNetworks
COPY scripts /tmp/splunk/scripts
RUN /tmp/splunk/scripts/build.sh -a app -o SplunkforPaloAltoNetworks.tgz -l
RUN /tmp/splunk/scripts/build.sh -a addon -o Splunk_TA_paloalto.tgz -l

# Download a stable Eventgen
RUN wget -qO /tmp/eventgen.tar.gz https://github.com/btorresgil/eventgen/archive/develop.tar.gz
{'fraction_non_alphanumeric': 0.11599696739954511, 'fraction_numerical': 0.006065200909780136, 'mean_word_length': 4.593220338983051, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '7008537', 'n_tokens_mistral': 534, 'n_tokens_neox': 507, 'n_words': 113}