<commit_before>#!/bin/bash

docker pull resin/rpi-raspbian:wheezy
docker run -d -i -t --name img-updater resin/rpi-raspbian:wheezy /bin/bash
docker exec img-updater apt-get update
docker exec img-updater apt-get upgrade -y
 # Generate version tag for docker image: resin/rpi-raspbian:wheezy-YYYY-MM-DD
 # Default OS_NAME=resin/rpi-raspbian:wheezy
VERSIONTAG="resin/rpi-raspbian:wheezy-$(date +'%F')"
docker export img-updater | docker import - $VERSIONTAG<commit_msg>Change to UNIX script file<commit_after>#!/bin/bash

docker pull resin/rpi-raspbian:wheezy
docker run -d -i -t --name img-updater resin/rpi-raspbian:wheezy /bin/bash
docker exec img-updater apt-get update
docker exec img-updater apt-get upgrade -y
 # Generate version tag for docker image: resin/rpi-raspbian:wheezy-YYYY-MM-DD
OS_NAME="resin/rpi-raspbian:wheezy" 
VERSIONTAG="$OS_NAME-$(date +'%F')"
docker export img-updater | docker import - $VERSIONTAG
{'fraction_non_alphanumeric': 0.12255965292841649, 'fraction_numerical': 0.0, 'mean_word_length': 4.8789808917197455, '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': '5119444', 'n_tokens_mistral': 366, 'n_tokens_neox': 347, 'n_words': 84}