<commit_before>VERSION=$1
REPO=$2

IMAGE=skmnistclassifier_runtime

echo "start"
echo $DOCKER_HOST

export DOCKER_HOST="tcp://127.0.0.1:2376"

echo $DOCKER_HOST

env


apk add --update openssl

wget https://github.com/openshift/source-to-image/releases/download/v1.1.9a/source-to-image-v1.1.9a-40ad911d-linux-amd64.tar.gz
tar -zxf source-to-image-v1.1.9a-40ad911d-linux-amd64.tar.gz

until docker ps; 
do sleep 3; 
done; 


./s2i build . seldonio/seldon-core-s2i-python2 ${REPO}/${IMAGE}:${VERSION}
docker images 
echo "Pushing image to ${REPO}/${IMAGE}:${VERSION}"
echo $DOCKER_PASSWORD | docker login --username=$DOCKER_USERNAME --password-stdin <commit_msg>docker test<commit_after>VERSION=$1
REPO=$2

IMAGE=skmnistclassifier_runtime

echo "start"
echo $DOCKER_HOST

export DOCKER_HOST="tcp://127.0.0.1:2375"

echo $DOCKER_HOST

env


apk add --update openssl

wget https://github.com/openshift/source-to-image/releases/download/v1.1.9a/source-to-image-v1.1.9a-40ad911d-linux-amd64.tar.gz
tar -zxf source-to-image-v1.1.9a-40ad911d-linux-amd64.tar.gz

until docker ps; 
do sleep 3; 
done; 


./s2i build . seldonio/seldon-core-s2i-python2 ${REPO}/${IMAGE}:${VERSION}
docker images 
echo "Pushing image to ${REPO}/${IMAGE}:${VERSION}"
echo $DOCKER_PASSWORD | docker login --username=$DOCKER_USERNAME --password-stdin 
{'fraction_non_alphanumeric': 0.15477996965098634, 'fraction_numerical': 0.05918057663125948, 'mean_word_length': 4.588983050847458, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '498124', 'n_tokens_mistral': 588, 'n_tokens_neox': 540, 'n_words': 91}