<commit_before>#!/usr/bin/env bash

: ${INTEGCB_LOCATION?"integcb location"}

echo -e "\n\033[1;96m--- Create cloudbreak context\033[0m\n"
cp $INTEGCB_LOCATION/Profile_template $INTEGCB_LOCATION/Profile
cp docker-compose_template.yml docker-compose.yml
ip_address=$(docker run --label cbreak.sidekick=true alpine sh -c 'ip ro | grep default | cut -d" " -f 3')
sed -i.bak "s/dns:/dns: $ip_address/g" docker-compose.yml
./scripts/fill_public_ip.sh
cd $INTEGCB_LOCATION<commit_msg>alpine version changed latest to 3.7<commit_after>#!/usr/bin/env bash

: ${INTEGCB_LOCATION?"integcb location"}

echo -e "\n\033[1;96m--- Create cloudbreak context\033[0m\n"
cp $INTEGCB_LOCATION/Profile_template $INTEGCB_LOCATION/Profile
cp docker-compose_template.yml docker-compose.yml
ip_address=$(docker run --label cbreak.sidekick=true alpine:3.7 sh -c 'ip ro | grep default | cut -d" " -f 3')
sed -i.bak "s/dns:/dns: $ip_address/g" docker-compose.yml
./scripts/fill_public_ip.sh
cd $INTEGCB_LOCATION
{'fraction_non_alphanumeric': 0.14547304170905392, 'fraction_numerical': 0.026449643947100712, 'mean_word_length': 5.0, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '3103513', 'n_tokens_mistral': 419, 'n_tokens_neox': 386, 'n_words': 82}