<commit_before>#!/bin/bash
set -e
here="`dirname \"$0\"`"

echo "01 > creating mount points"
mount none -t proc /proc
mount none -t sysfs /sys
mount none -t devpts /dev/pts

export HOME=/root
export LC_ALL=C

echo "01 > adding gpg keys for apt-get update"
/bin/bash "$here/gpg-keys.sh"

echo "01 > updating and installing packages"
apt-get update<commit_msg>chroot does not work due to http://stackoverflow.com/questions/26406048/debootstrap-inside-a-docker-container<commit_after>#!/bin/bash
set -e
here="`dirname \"$0\"`"

echo "01 > creating mount points"
mount none -t --bind proc /proc
mount none -t --bind sysfs /sys
mount none -t --bind devpts /dev/pts

export HOME=/root
export LC_ALL=C

echo "01 > adding gpg keys for apt-get update"
/bin/bash "$here/gpg-keys.sh"

echo "01 > updating and installing packages"
apt-get update
{'fraction_non_alphanumeric': 0.1332533013205282, 'fraction_numerical': 0.026410564225690276, 'mean_word_length': 3.8488372093023258, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '6348007', 'n_tokens_mistral': 316, 'n_tokens_neox': 288, 'n_words': 102}