<commit_before>#!/bin/bash

DIR=`dirname $0`
DIR=`realpath $DIR`

DKUID=`id -u`
DKGID=`id -g`

echo $DIR

docker build --build-arg DKUID="$DKUID" --build-arg DKGID="$DKGID" -f docker-vpnlaunchpad/Dockerfile.alpine --rm=true -t samuelhbne/vpnlaunchpad:alpine docker-vpnlaunchpad/

mkdir -p $DIR/.vpn-launchpad/.aws
if [ ! -f $DIR/.vpn-launchpad/.aws/config ]; then
	echo "[default]\nregion = ap-northeast-1\noutput = json\n">>$DIR/.vpn-launchpad/.aws/config
fi
docker run --rm=true --name vlp-alpine -v $DIR:/home/ubuntu/vpn-launchpad -v $DIR/.vpn-launchpad/.aws:/home/ubuntu/.aws -v $DIR/.vpn-launchpad:/home/ubuntu/.vpn-launchpad -it samuelhbne/vpnlaunchpad:alpine
<commit_msg>Cleanning job<commit_after>#!/bin/bash

DIR=`dirname $0`
DIR=`realpath $DIR`

DKUID=`id -u`
DKGID=`id -g`

echo $DIR

docker build --build-arg DKUID="$DKUID" --build-arg DKGID="$DKGID" -f docker-vpnlaunchpad/Dockerfile --rm=true -t samuelhbne/vpnlaunchpad:alpine docker-vpnlaunchpad/

mkdir -p $DIR/.vpn-launchpad/.aws
if [ ! -f $DIR/.vpn-launchpad/.aws/config ]; then
	echo "[default]\nregion = ap-northeast-1\noutput = json\n">>$DIR/.vpn-launchpad/.aws/config
fi
docker run --rm=true --name vlp-alpine -v $DIR:/home/ubuntu/vpn-launchpad -v $DIR/.vpn-launchpad/.aws:/home/ubuntu/.aws -v $DIR/.vpn-launchpad:/home/ubuntu/.vpn-launchpad -it samuelhbne/vpnlaunchpad:alpine

{'fraction_non_alphanumeric': 0.18902891030392885, 'fraction_numerical': 0.0029651593773165306, 'mean_word_length': 4.018587360594796, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '4577751', 'n_tokens_mistral': 632, 'n_tokens_neox': 523, 'n_words': 97}