<commit_before>#!/bin/sh

B2D_ROOT=/var/lib/boot2docker
B2D_BIN_DIR=$B2D_ROOT/bin

mkdir -p $B2D_BIN_DIR

# install util-linux
UTIL_LINUX=$B2D_ROOT/optional/util-linux.tcz
if [ ! -e $UTIL_LINUX ]; then
    su - docker -c "tce-load -w util-linux"
    mv -f /tmp/tce/optional $B2D_ROOT/
fi
su - docker -c "tce-load -i $UTIL_LINUX"

# install docker-attach
URL_DOCKER_ATTACH=https://raw.githubusercontent.com/mogproject/docker-attach/master/docker-attach
DOCKER_ATTACH=$B2D_BIN_DIR/docker-attach
if [ ! -x $DOCKER_ATTACH ]; then 
    curl -s -o $DOCKER_ATTACH $URL_DOCKER_ATTACH
    chmod +x $DOCKER_ATTACH
fi
ln -s $DOCKER_ATTACH /usr/local/bin/docker-attach<commit_msg>stop downloading in bootlocal.sh<commit_after>#!/bin/sh

B2D_ROOT=/var/lib/boot2docker

# util-linux
su - docker -c "tce-load -i $B2D_ROOT/optional/util-linux.tcz"

# docker-attach
rm -f /usr/local/bin/docker-attach
ln -s $B2D_ROOT/bin/docker-attach /usr/local/bin/docker-attach
{'fraction_non_alphanumeric': 0.13742071881606766, 'fraction_numerical': 0.012684989429175475, 'mean_word_length': 4.064171122994653, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6905320', 'n_tokens_mistral': 429, 'n_tokens_neox': 405, 'n_words': 70}