<commit_before>FROM ubuntu:latest

MAINTAINER i3visio

# Updating packages
RUN apt-get update -y

# Installing Pip from repositories
RUN apt-get install -y python-pip

# Installing latest version of pip
RUN pip install pip --upgrade

# Installing latest version of pip
RUN pip install osrframework
<commit_msg>Manually download .cfg files for docker instance<commit_after>FROM ubuntu:latest

MAINTAINER i3visio

# Updating packages
RUN apt-get update -y

# Installing Pip from repositories
RUN apt-get install -y python-pip

# Installing latest version of pip
RUN pip install pip --upgrade

# Installing latest version of pip
RUN pip install osrframework --pre

# TODO: For some reason, the Docker installation seems not to correctly set the default .cfg files.
RUN sudo apt-get install -y wget

# We will download them manually for now.
RUN wget https://raw.githubusercontent.com/i3visio/osrframework/master/config/accounts.cfg -O /root/.config/OSRFramework/default/accounts.cfg
RUN wget https://raw.githubusercontent.com/i3visio/osrframework/master/config/api_keys.cfg -O /root/.config/OSRFramework/default/api_keys.cfg
RUN wget https://raw.githubusercontent.com/i3visio/osrframework/master/config/browser.cfg -O /root/.config/OSRFramework/default/browser.cfg
RUN wget https://raw.githubusercontent.com/i3visio/osrframework/master/config/general.cfg -O /root/.config/OSRFramework/default/general.cfg

{'fraction_non_alphanumeric': 0.08416547788873038, 'fraction_numerical': 0.0042796005706134095, 'mean_word_length': 4.634538152610442, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '7602231', 'n_tokens_mistral': 439, 'n_tokens_neox': 421, 'n_words': 132}